pub type PreCommitCallback = Box<dyn Fn(&PreCommitCallbackPayload) -> bool + Send + Sync>;
pub struct PreCommitCallback(/* private fields */);