/** * Lightweight option helpers for gateway CLI subcommands. * * Kept separate from `gateway-client.ts` so subcommand files can statically * import these (called at command construction time) without dragging in * `loadConfig` / `createLogger` and their transitive graph. The heavy HTTP * helpers in `gateway-client.ts` are dynamically imported inside actions. */ import type { Command } from 'commander'; import type { GatewayCredential } from '../../gateway/credential.js'; export interface GatewayClientOptions { url?: string; token?: string; passwordEnv?: string; credential?: GatewayCredential; timeoutMs?: number; json?: boolean; } export declare function addGatewayClientOptions(cmd: Command): Command; export declare function parseGatewayClientOptions(opts: Record): GatewayClientOptions;