export declare const LAUNCHER_PROTOCOL_VERSION = 2; export declare function getLauncherDirectory(): string; export declare function getStableLauncherPath(): string; export declare function getLauncherProtocolPath(): string; export declare function getPackagedLauncherPath(): string; export declare function installStableLauncher(sourcePath?: string): string; export declare function validateStableLauncher(): string; export declare function getAdoptedLauncherPath(): string | null; export declare function runStableLauncher(launchSpecPath: string, launcherPath?: string): void; export declare function spawnStableLauncher(launchSpecPath: string, options?: { upgradeJobId?: string; launcherPath?: string; onSpawn?: (pid: number) => void; recoveryOwner?: 'repair' | 'worker'; }): number;