import type { CliArgs, HostRuntimeResolution, RuntimePaths } from "../../lib/types.mjs"; interface RunCommand { readonly name: string; readonly args: string[]; readonly capture: boolean; } interface RunPlan { readonly ok: boolean; readonly kind?: "team" | "launch-lead"; readonly reason: string; readonly commands: RunCommand[]; } export declare function positionalRuntime(args: CliArgs): string; export declare function requestedRuntimeFromArgs(args: CliArgs): string; export declare function withoutRuntimeSelection(args: CliArgs): string[]; export declare function extractLabel(stdout: string, label: string): string; export declare function buildRunPlan({ args, paths, resolution, runManifestPath, }: { readonly args: CliArgs; readonly paths: RuntimePaths; readonly resolution: HostRuntimeResolution; readonly runManifestPath?: string; }): RunPlan; export declare function run(args: readonly string[]): Promise; export {};