import { EditorState, Transaction, StateCommand, StateEffect, Facet, Extension } from "@codemirror/next/state"; import { KeyBinding } from "@codemirror/next/view"; export declare const isolateHistory: import("../../state/src").AnnotationType<"full" | "before" | "after">; export declare const invertedEffects: Facet<(tr: Transaction) => readonly StateEffect[], readonly ((tr: Transaction) => readonly StateEffect[])[]>; interface HistoryConfig { minDepth?: number; newGroupDelay?: number; } export declare function history(config?: HistoryConfig): Extension; export declare const undo: StateCommand; export declare const redo: StateCommand; export declare const undoSelection: StateCommand; export declare const redoSelection: StateCommand; export declare const undoDepth: (state: EditorState) => number; export declare const redoDepth: (state: EditorState) => number; export declare const historyKeymap: readonly KeyBinding[]; export {}; //# sourceMappingURL=history.d.ts.map