/** * CLI flag parsing for `x402-micro-tollgate` bin entry. * Kept side-effect free so tests can import without booting the server. */ export type CliOptions = { help: boolean; stdio: boolean; port?: string; /** EVM receive address → applied as `X402_PAY_TO` before server/MCP import. */ seller?: string; /** True when `--seller` / `-s` was present but value was missing. */ sellerMissingValue: boolean; }; /** * Parse argv tokens (without `node` / script path). * Does not mutate env — call {@link applyCliEnv} after. */ export declare function parseCliArgs(args: string[]): CliOptions; /** * Apply CLI overrides to env before dynamic-importing server / mcp-stdio. * Existing env vars are preserved unless an explicit flag overrides them. */ export declare function applyCliEnv(opts: Pick, env?: NodeJS.ProcessEnv): void;