import type { TSequence } from 'remotion'; import type { CodePosition } from '../../error-overlay/react-overlay/utils/get-source-map'; import type { SequenceNodePathInfo } from '../../helpers/get-timeline-sequence-sort-key'; type SequenceNameSaveAction = { type: 'noop'; } | { type: 'save'; defaultValue: string | null; }; export declare const getSequenceNameSaveAction: ({ editedName, currentDisplayName, fallbackDisplayName, hasStaticNameProp, }: { editedName: string; currentDisplayName: string; fallbackDisplayName: string; hasStaticNameProp: boolean; }) => SequenceNameSaveAction; export declare const useRenameSequence: ({ clientId, nodePathInfo, sequence, validatedLocation, }: { readonly clientId: string | null; readonly nodePathInfo: SequenceNodePathInfo | null; readonly sequence: TSequence; readonly validatedLocation: CodePosition | null; }) => { canRename: boolean; codeNameStatus: import("remotion").CanUpdateSequencePropStatus | undefined; displayName: string; fallbackDisplayName: string; hasStaticNameProp: boolean; propStatusesForOverride: Record | undefined; saveName: (name: string) => Promise; }; export {};