import type { BuiltInEditor, CustomEditor, DefaultEditor, LogLevel } from '@remotion/renderer'; import { type ResolvedCustomEditorExecutable } from './custom-editor'; import type { InstalledEditor } from './editor-registry'; import type { ProcessAndCommand } from './open-in-editor'; export type ResolvedEditor = (ProcessAndCommand & { type: 'built-in'; id: BuiltInEditor | null; name: string; nameWithType: string; }) | (ResolvedCustomEditorExecutable & { type: 'custom'; id: 'custom'; name: string; nameWithType: string; editor: CustomEditor; }); type ResolveEditorDependencies = { getInstalledEditors: () => Promise; getLegacyEditors: () => Promise; resolveCustomEditor: (editor: CustomEditor) => ResolvedCustomEditorExecutable | null; warn: (message: string) => void; warnedEditors: Set; }; export declare const resolveEditor: ({ defaultEditor, logLevel, preferredEditor, }: { defaultEditor: DefaultEditor | null; logLevel: LogLevel; preferredEditor: BuiltInEditor | 'custom' | null; }, overrides?: Partial) => Promise; export {};