import { type Dispatch, type SetStateAction } from 'react'; export declare function useOfficeDraft(createInitial: () => Value): { cancelDraft: () => void; dirty: boolean; draft: Value; draftRef: import("react").RefObject; replaceDraft: (next: Value) => void; setDraft: Dispatch>; syncDraft: (next: Value, force?: boolean) => void; };