import { ToolbarCommandState, ToolbarContext } from '../types.js';
export declare const getCurrentUndoDepth: (context: ToolbarContext | null) => any;
export declare const getCurrentRedoDepth: (context: ToolbarContext | null) => any;
/**
 * Disable a toolbar control when a document-api operation is unavailable
 * (missing extension commands, tracked-mode restrictions, etc.).
 */
export declare const createDocumentOperationCapabilityStateDeriver: (operationId: string) => ({ context }: {
    context: ToolbarContext | null;
}) => ToolbarCommandState;
export declare const createHistoryStateDeriver: (kind: "undo" | "redo") => ({ context }: {
    context: ToolbarContext | null;
}) => ToolbarCommandState;
export declare const createRulerStateDeriver: () => ({ context, superdoc }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
}) => ToolbarCommandState;
export declare const createFormattingMarksStateDeriver: () => ({ superdoc }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
}) => ToolbarCommandState;
export declare const createZoomStateDeriver: () => ({ context, superdoc }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
}) => ToolbarCommandState;
export declare const createDocumentModeStateDeriver: () => ({ context, superdoc }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
}) => ToolbarCommandState;
export declare const createRulerExecute: () => ({ superdoc }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
    payload?: unknown;
}) => boolean;
export declare const createFormattingMarksExecute: () => ({ superdoc }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
    payload?: unknown;
}) => boolean;
export declare const createZoomExecute: () => ({ superdoc, payload }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
    payload?: unknown;
}) => boolean;
export declare const createDocumentModeExecute: () => ({ superdoc, payload }: {
    context: ToolbarContext | null;
    superdoc: Record<string, any>;
    payload?: unknown;
}) => boolean;
//# sourceMappingURL=document.d.ts.map