import type { ImageEditorEdits } from "./edits"; export type EditorSerializableState = { edits: ImageEditorEdits; camera?: { zoomLevel: number; offset: { x: number; y: number; }; }; }; export type HistoryEntry = { id: string; label: string; delta?: string; timestamp: number; state: EditorSerializableState; }; export type HistoryStore = { entries: HistoryEntry[]; index: number; maxEntries: number; push: (entry: Omit) => HistoryEntry; undo: () => HistoryEntry | null; redo: () => HistoryEntry | null; jumpTo: (index: number) => HistoryEntry | null; resetToBaseline: (baseline: Omit) => HistoryEntry; }; export declare const useHistoryStore: import("zustand").UseBoundStore>; export declare function selectCanUndo(state: Pick): boolean; export declare function selectCanRedo(state: Pick): boolean; export declare function selectCurrentEntry(state: Pick): HistoryEntry | null; //# sourceMappingURL=historyStore.d.ts.map