import type { SymbolicatedStackFrame } from '@remotion/studio-shared'; import type { _InternalTypes } from 'remotion'; export declare const useRenameComposition: ({ compositions, currentId, newId, }: { compositions: _InternalTypes['AnyComposition'][]; currentId: string; newId: string; }) => { compositionId: string; getValidationMessage: (value: string) => string | null; renameComposition: ({ newCompositionId, signal, symbolicatedStack, }: { newCompositionId: string; signal: AbortSignal; symbolicatedStack: SymbolicatedStackFrame | null; }) => Promise; valid: boolean; validationMessage: string | null; };