import { RationalTime } from "@techsquidtv/canvas-timeline-utils"; import { TimelineCommandResult } from "@techsquidtv/canvas-timeline-core"; //#region src/hooks/selection/useTimelineClipboard.d.ts /** Result returned by `useTimelineClipboard`. */ interface UseTimelineClipboardResult { /** Whether the current selection can be copied. */ canCopy: boolean; /** Whether the current selection can be cut. */ canCut: boolean; /** Whether clipboard contents are available to paste. */ canPaste: boolean; /** Number of clips currently stored in the timeline clipboard. */ clipboardCount: number; /** Copies the current clip selection to the timeline clipboard. */ copySelection: () => TimelineCommandResult; /** Cuts the current clip selection to the timeline clipboard. */ cutSelection: () => TimelineCommandResult; /** Pastes clipboard clips at a time and optional target track. */ pasteSelection: (time: RationalTime, targetTrackId?: string) => TimelineCommandResult; } /** * Provides access to clipboard operations for copying, cutting, and pasting clips. * * @returns Commands for manipulating the timeline clip clipboard. */ declare function useTimelineClipboard(): UseTimelineClipboardResult; //#endregion export { UseTimelineClipboardResult, useTimelineClipboard }; //# sourceMappingURL=useTimelineClipboard.d.mts.map