import type { CliProcess } from "./CliProcess.js"; /** The commands this module owns; the executor's own are dispatched by the entry. */ export declare const GATEWAY_COMMANDS: readonly ["init", "proxy", "gateway", "run", "intercept", "host", "status", "doctor", "test", "accept", "identity", "config", "login", "logout", "version", "help"]; export type GatewayCommand = (typeof GATEWAY_COMMANDS)[number]; export declare function isGatewayCommand(command: string | undefined): command is GatewayCommand; /** Runs one of the gateway commands; every one ends by calling `exit`. */ export declare function runGatewayCommand(command: GatewayCommand, argv: readonly string[], io: CliProcess): Promise; //# sourceMappingURL=Commands.d.ts.map