import { type Effort } from "@gajae-code/ai/core"; export type Mode = "text" | "json" | "acp"; export type ParseArgsAuthority = "local" | "acp" | "deferred"; export interface Args { cwd?: string; allowHome?: boolean; provider?: string; model?: string; smol?: string; slow?: string; plan?: string; mpreset?: string; default?: boolean; apiKey?: string; credential?: string; preferCredential?: string; systemPrompt?: string; appendSystemPrompt?: string; clipboardTransport?: "auto" | "native" | "osc52" | "ssh"; clipboardSshHost?: string; mcpConfig?: string; /** Opt a standalone session out of conventional MCP autoload (mutually exclusive with --mcp-config). */ noMcp?: boolean; thinking?: Effort; continue?: boolean; resume?: string | true; help?: boolean; version?: boolean; mode?: Mode; noSession?: boolean; sessionDir?: string; providerSessionId?: string; fork?: string; models?: string[]; tools?: string[]; noTools?: boolean; noLsp?: boolean; noPty?: boolean; tmux?: boolean; /** Retained for runtime/test compatibility; extension loading flags are no longer parsed. */ hooks?: string[]; extensions?: string[]; noExtensions?: boolean; pluginDirs?: string[]; print?: boolean; export?: string; /** Retained for runtime/test compatibility; arbitrary skill discovery is always disabled. */ noSkills?: boolean; skills?: string[]; noRules?: boolean; listModels?: string | true; noTitle?: boolean; messages: string[]; fileArgs: string[]; /** Flags unknown to every launch parser; their consumer supplies the diagnostic. */ unknownFlags: Map; /** Exact interactive startup login intent, recognized before model-profile activation. */ authBootstrap?: true; } export declare function parseArgs(args: string[], authority?: ParseArgsAuthority): Args; /** Reject flags whose only owners are non-local startup consumers. */ export declare function assertLocalLaunchArgs(parsed: Args): void;