import { TimelineCommandResult } from "@techsquidtv/canvas-timeline-core"; //#region src/hooks/selection/useTimelineHistory.d.ts /** Result returned by `useTimelineHistory`. */ interface UseTimelineHistoryResult { /** Whether an undo snapshot is available. */ canUndo: boolean; /** Whether a redo snapshot is available. */ canRedo: boolean; /** Restores the previous timeline history snapshot. */ undo: () => TimelineCommandResult; /** Reapplies the next timeline history snapshot. */ redo: () => TimelineCommandResult; } /** * Provides canonical undo/redo history access for timeline editor chrome. * * @returns Undo/redo availability and commands. */ declare function useTimelineHistory(): UseTimelineHistoryResult; //#endregion export { UseTimelineHistoryResult, useTimelineHistory }; //# sourceMappingURL=useTimelineHistory.d.mts.map