import { Readable, Writable } from "svelte/store"; export declare type UndoRedoStore = Writable & { readonly undo: () => void; readonly redo: () => void; readonly clear: () => void; readonly canUndo: Readable; readonly canRedo: Readable; }; export declare function undoStore(store: Writable): UndoRedoStore;