import type { DesktopRuntimeState } from '../shared/types.js'; import type { RunResult } from './runtime-service.js'; export type AutoStartLaunchResult = 'started' | 'skipped' | 'failed'; export interface AutoStartRuntime { getState(): Promise; start(): Promise; takeover(): Promise; } export interface AutoStartMonitor { refresh(): Promise; } export declare function shouldAutoStartCliRuntime(state: DesktopRuntimeState): boolean; export declare function shouldTakeOverExternalRuntime(state: DesktopRuntimeState): boolean; export declare function autoStartCliRuntimeOnLaunch(args: { runtime: AutoStartRuntime; monitor?: AutoStartMonitor; warn?: (message: string) => void; }): Promise; //# sourceMappingURL=auto-start.d.ts.map