export interface SnapshotState { snapshotCursor: number; snapshotLength: number; } export interface SnapshotActions { setSnapshotCursor: (cursor: number) => void; setSnapshotLength: (length: number) => void; initSnapshotDatabase: () => Promise; addSnapshot: () => Promise; unDo: () => Promise; reDo: () => Promise; } export type SnapshotStore = SnapshotState & SnapshotActions; export declare const selectCanUndo: (state: SnapshotState) => boolean; export declare const selectCanRedo: (state: SnapshotState) => boolean; export declare const useSnapshotStore: import("zustand").UseBoundStore>;