import type { ContextType } from 'react'; import type { SequencePropsSubscriptionKey, InteractivitySchema } from 'remotion'; import { Internals } from 'remotion'; export type DeleteSequenceKeyframeChange = { fileName: string; nodePath: SequencePropsSubscriptionKey; fieldKey: string; sourceFrame: number; schema: InteractivitySchema; valueWhenLastKeyframeDeleted: unknown | null; }; export type DeleteEffectKeyframeChange = DeleteSequenceKeyframeChange & { effectIndex: number; }; type DeleteKeyframesAction = { sequenceKeyframes: DeleteSequenceKeyframeChange[]; effectKeyframes: DeleteEffectKeyframeChange[]; clientId: string; }; type DeletionSetters = Pick, 'setPropStatuses' | 'setPropStatusesBatch' | 'updateDragOverrides' | 'updateDragOverridesBatch' | 'updateEffectDragOverridesBatch'>; export declare const callDeleteKeyframes: ({ sequenceKeyframes, effectKeyframes, clientId, setters, getSnapshot, }: DeleteKeyframesAction & { setters: DeletionSetters; getSnapshot: ContextType['getSnapshot']; }) => Promise; export declare const useDeleteKeyframes: ({ notifyOnError, }: { notifyOnError: boolean; }) => (action: DeleteKeyframesAction) => Promise; export {};