import { type CaptionPatch, type SaveSequencePropSourceEdit, type SaveSequencePropsResponse } from '@remotion/studio-shared'; import type { CanUpdateSequencePropsResponse, SequencePropsSubscriptionKey, InteractivitySchema } from 'remotion'; import type { AddSequenceKeyframeChange } from './call-add-keyframe'; import { type MoveEffectKeyframeChange, type MoveSequenceKeyframeChange } from './call-move-keyframe'; export type SetPropStatuses = (nodePath: SequencePropsSubscriptionKey, values: (prev: CanUpdateSequencePropsResponse) => CanUpdateSequencePropsResponse) => void; export type SaveSequencePropChange = { fileName: string; nodePath: SequencePropsSubscriptionKey; fieldKey: string; value: unknown; defaultValue: string | null; schema: InteractivitySchema; sourceEdit?: SaveSequencePropSourceEdit; }; type SaveSequencePropsOptions = { changes: SaveSequencePropChange[]; addedKeyframes: AddSequenceKeyframeChange[] | null; movedKeyframes: { sequenceKeyframes: MoveSequenceKeyframeChange[]; effectKeyframes: MoveEffectKeyframeChange[]; } | null; setPropStatuses: SetPropStatuses; clientId: string; undoLabel: string; redoLabel: string; }; export declare const saveInlineCaptionPatches: ({ fileName, nodePath, schema, patches, nextCaptions, setPropStatuses, clientId, undoLabel, redoLabel, }: { fileName: string; nodePath: SequencePropsSubscriptionKey; schema: InteractivitySchema; patches: CaptionPatch[]; nextCaptions: unknown; setPropStatuses: SetPropStatuses; clientId: string; undoLabel: string; redoLabel: string; }) => Promise; export declare const saveSequenceProps: (options: SaveSequencePropsOptions) => Promise; export declare const saveSequencePropsWithResult: (options: SaveSequencePropsOptions) => Promise; export {};