import { type EditorBlockId } from '../ui/editorHistory';
export type OverlayOverrideInput = {
    editorPath: string;
    before: unknown;
    after: unknown;
};
export type BlockOverlayPath = {
    blockId: EditorBlockId;
    fieldPath: string;
};
export type OverlayDraftsTarget = {
    setAtPath: (blockId: EditorBlockId, path: string, value: unknown) => void;
};
export declare function buildBlockOverlayPath(blockId: EditorBlockId, fieldPath: string): string;
export declare function parseBlockOverlayPath(editorPath: string): BlockOverlayPath | null;
export declare function applyOverlayOverridesToDrafts(drafts: OverlayDraftsTarget, overrides: OverlayOverrideInput[], mode?: 'before' | 'after'): void;
