/** * CLI argument parsing for transport selection and port configuration. */ export type Transport = "stdio" | "http"; export interface CliArgs { transport: Transport; port: number; envFile?: string; } export declare function getVersion(): string; /** * Parse CLI arguments for transport mode and port. * * Usage: * node build/index.js [stdio|http] [--port ] * * - Transport defaults to "stdio" if not specified. * - Port defaults to --port flag, then PORT env var, then 3000. * - Throws on unknown transport names. * - --help and --version cause the process to exit. */ export declare function parseArgs(argv?: string[]): CliArgs; export declare function resolvePort(argv?: string[]): number; //# sourceMappingURL=cli.d.ts.map