import type { SequenceNodePathMutation, SaveSequencePropsResponse, KeyframeMutationResult } from '@remotion/studio-shared'; import type { ContextType } from 'react'; import type { CanUpdateSequencePropsResponse, DragOverrideValue, SequencePropsSubscriptionKey } from 'remotion'; import { Internals } from 'remotion'; import type { SetPropStatuses } from './Timeline/save-sequence-prop'; type Setters = ContextType; export declare const reconcileCanvasDragPreviewStatuses: (update: Setters['updateDragOverrides'], nodePath: SequencePropsSubscriptionKey, response: CanUpdateSequencePropsResponse) => CanUpdateSequencePropsResponse; export declare const createCanvasDragPreview: ({ updateDragOverrides, setPropStatuses, setPropStatusesBatch, getPropStatuses, }: { updateDragOverrides: Setters['updateDragOverrides']; setPropStatuses: SetPropStatuses; setPropStatusesBatch: Setters['setPropStatusesBatch'] | null; getPropStatuses: (nodePath: SequencePropsSubscriptionKey) => CanUpdateSequencePropsResponse | undefined; }) => { getNodePath: (nodePath: SequencePropsSubscriptionKey) => SequencePropsSubscriptionKey | null; isLatest: () => boolean; setDragOverrides: (nodePath: SequencePropsSubscriptionKey, key: string, value: DragOverrideValue) => void; setDragOverridesBatch: (values: readonly { nodePath: SequencePropsSubscriptionKey; key: string; value: DragOverrideValue; }[], updateBatch: Setters['updateDragOverridesBatch']) => void; setEffectDragOverridesBatch: (values: readonly { nodePath: SequencePropsSubscriptionKey; effectIndex: number; key: string; value: DragOverrideValue; }[], updateBatch: Setters['updateEffectDragOverridesBatch']) => void; setPropStatuses: (nodePath: SequencePropsSubscriptionKey, apply: (prev: CanUpdateSequencePropsResponse) => CanUpdateSequencePropsResponse) => void; setPropStatusesBatch: (updates: Parameters[0]) => void; cancel: () => void; fail: () => void; acknowledgeKeyframes: (results: readonly KeyframeMutationResult[]) => void; acknowledge: (response: SaveSequencePropsResponse | null) => void; }; export declare const resetCanvasDragPreviewsForSourceSession: (setters: Pick, sessionId: string | null) => void; export declare const remapCanvasDragPreviews: (setters: Pick, mutations: readonly SequenceNodePathMutation[]) => void; export {};