import type { ContextType } from 'react'; import { Internals } from 'remotion'; import type { SequenceNodePathInfo } from '../../helpers/get-timeline-sequence-sort-key'; import type { createCanvasDragPreview } from '../canvas-drag-preview'; import { type TimelineSelection, type useCurrentTimelineSelectionStateAsRef } from './TimelineSelection'; export declare const finishKeyframePreview: ({ preview, reason, recoverSelection, targets, previousSelections, expectedSelections, currentSelection, getSnapshot, }: { readonly preview: ReturnType; readonly reason: 'cancel' | 'failure'; readonly recoverSelection: boolean; readonly targets: readonly { nodePathInfo: SequenceNodePathInfo; displayFrame: number; sourceFrame: number; }[]; readonly previousSelections: readonly TimelineSelection[]; readonly expectedSelections: readonly TimelineSelection[]; readonly currentSelection: ReturnType; readonly getSnapshot: ContextType['getSnapshot']; }) => void;