import type { DefaultCodingAgent, LogLevel } from '@remotion/renderer'; export type InstalledCodingAgent = { id: DefaultCodingAgent; name: string; nameWithType: string; applicationPath: string; platform: SupportedCodingAgentPlatform; launchMode: 'direct' | 'terminal'; terminal: InstalledTerminal | null; }; type SupportedCodingAgentPlatform = 'darwin' | 'linux' | 'win32'; type LinuxTerminalId = 'x-terminal-emulator' | 'gnome-terminal' | 'konsole' | 'kitty' | 'alacritty' | 'wezterm' | 'xterm'; type InstalledTerminal = { id: LinuxTerminalId | 'cmd'; path: string; }; export type CodingAgentDiscoveryContext = { platform: NodeJS.Platform; env: NodeJS.ProcessEnv; homeDirectory: string; pathExists: (filePath: string) => boolean; findMacApplications: (bundleIdentifier: string) => Promise; }; export declare const discoverAvailableCodingAgents: (context: CodingAgentDiscoveryContext) => Promise; export declare const getAvailableCodingAgents: () => Promise; export declare const getRunningCodingAgents: (installedCodingAgents: readonly InstalledCodingAgent[]) => Promise; export declare const getCodingAgentLaunchCommand: ({ codingAgent, projectPath, }: { codingAgent: InstalledCodingAgent; projectPath: string; }) => { command: string; args: string[]; cwd: string | null; }; type CodingAgentLaunchCommand = ReturnType & { waitForExit: boolean; }; export declare const getCodingAgentLaunchCommands: ({ codingAgent, projectPath, prompt, }: { codingAgent: InstalledCodingAgent; projectPath: string; prompt: string | null; }) => readonly CodingAgentLaunchCommand[]; export declare const launchCodingAgent: ({ codingAgent, projectPath, logLevel, prompt, }: { codingAgent: InstalledCodingAgent; projectPath: string; logLevel: LogLevel; prompt: string | null; }) => Promise; export {};