import { TimelineEditPreview } from "@techsquidtv/canvas-timeline-core"; //#region src/hooks/editing/useTimelineEditPreview.d.ts /** Result returned by `useTimelineEditPreview`. */ interface UseTimelineEditPreviewResult { /** Active command-layer edit preview, or null when no preview is active. */ preview: TimelineEditPreview | null; /** Whether the current preview can be committed. */ valid: boolean; /** Whether an edit preview is currently active. */ previewing: boolean; } /** * Subscribes to live command-layer edit preview state. * * This is a focused live hook for preview validity and command state. Compose * with `useTimelineEditImpacts` when UI also needs affected-clip consequences. * * @returns Active edit preview state. */ declare function useTimelineEditPreview(): UseTimelineEditPreviewResult; //#endregion export { UseTimelineEditPreviewResult, useTimelineEditPreview }; //# sourceMappingURL=useTimelineEditPreview.d.mts.map