import type { CliCommandName } from "../contracts/capabilities.js"; export interface GlobalCliOptions { cwd: string; argv: string[]; } export interface ParsedCommand { command: CliCommandName; json: boolean; args: Record; } export type ServeRuntime = "repo-local" | "daemon"; export interface ParsedServeCommand { readonly runtime: ServeRuntime; readonly socketPath?: string | undefined; readonly spawnIfMissing?: boolean | undefined; } export interface ParsedDaemonCommand { readonly action: "start" | "status"; readonly socketPath?: string | undefined; } export declare function resolveEntrypointArgs(args: readonly string[], stdinIsTTY: boolean | undefined, stdoutIsTTY: boolean | undefined): string[]; export declare function parseDaemonCommand(cwd: string, argv: string[]): ParsedDaemonCommand; export declare function parseServeCommand(cwd: string, argv: string[]): ParsedServeCommand; export declare function parseGlobalOptions(cwd: string, args: readonly string[]): GlobalCliOptions; export declare function parseCommand(argv: string[]): ParsedCommand; //# sourceMappingURL=command-parser.d.ts.map