import { DeepReadonly, Ref } from 'vue'; /** * Reactive undo/redo availability for the active document database. */ export interface UseUndoRedoReturn { /** Whether the active database has undoable operations. */ canUndo: DeepReadonly>; /** Whether the active database has redoable operations. */ canRedo: DeepReadonly>; /** Re-reads undo/redo state from the active document. */ syncUndoRedoState: () => void; } /** * Tracks undo/redo availability for the active CAD document. * * State updates when the undo stack changes and when the active document changes. */ export declare function useUndoRedo(): UseUndoRedoReturn; //# sourceMappingURL=useUndoRedo.d.ts.map