import type { EditorState, Transaction } from '../../tiptap/pm/state';
import type { PreviewOverride } from './range-tracking.js';
type PreviewAnimationRange = {
    from: number;
    to: number;
};
export type SketchPreviewState = ReturnType<typeof createSketchPreviewState>;
export declare const createSketchPreviewState: () => {
    getOverride: () => PreviewOverride | null;
    setOverride: (nextOverride: PreviewOverride | null) => void;
    getAnimationRange: () => PreviewAnimationRange | null;
    setAnimationRange: (range: PreviewAnimationRange | null) => void;
    consumeAnimationRange: () => PreviewAnimationRange | null;
    hasBackgroundRestoreRanges: () => boolean;
    hideBackgroundMarks: (state: EditorState, tr: Transaction, nextOverride: PreviewOverride) => void;
    restoreBackgroundMarks: (tr: Transaction) => void;
};
export {};
//# sourceMappingURL=editor-preview-state.d.ts.map