interface UseUndoHook { value: T; onChange: (newValue: T) => void; undo: () => void; redo: () => void; clear: () => void; canUndo: boolean; canRedo: boolean; } declare function useUndo>(key: string, initialValue: T, debounceDelay?: number): UseUndoHook; export { useUndo, type UseUndoHook }; //# sourceMappingURL=use-undo.d.ts.map