import { type LocalRuntime } from "../../../packages/runtime/src/index.js"; import type { CliExecutionContext } from "./cli.js"; export type { LocalRuntime } from "../../../packages/runtime/src/index.js"; export interface StartRuntimeOptions { openBrowser?: boolean; port?: number; headless?: boolean; } export type StartRuntimeResult = { status: "running" | "started"; runtime: LocalRuntime; } | { status: "unavailable"; reason: string; guidance: readonly string[]; }; export interface CliLocalRuntimeAdapter { findRuntime(): Promise; assertRuntimeHealthy(runtime: LocalRuntime): Promise; startRuntime(options: StartRuntimeOptions): Promise; } export declare function createFallbackLocalRuntimeAdapter(context: CliExecutionContext): CliLocalRuntimeAdapter; export declare function openUrlInBrowser(url: string): Promise; //# sourceMappingURL=runtime-adapter.d.ts.map