/** * Proxy CLI Commands for NeuroLink * * Implements commands for managing the Claude multi-account proxy: * - neurolink proxy start — Start the proxy server * - neurolink proxy status — Show proxy status (accounts, sessions, routing) * * The proxy creates a NeuroLink instance and builds a Hono app that registers * Claude-compatible proxy routes. All requests flow through ctx.neurolink * (generate/stream), with an optional ModelRouter for model remapping. */ import type { CommandModule } from "yargs"; import type { AccountAllowlist, LoadedProxyConfig, ProxyGuardArgs, ProxyNeurolinkRuntime, ProxyStartArgs, ProxyStartStrategy, ProxyStatusArgs, ProxyTelemetryArgs } from "../../lib/types/index.js"; import type { ModelRouter } from "../../lib/proxy/modelRouter.js"; export declare function mapClaudeErrorTypeToStatus(errorType?: string): number; export declare function createProxyStartApp(params: { neurolink: ProxyNeurolinkRuntime["neurolink"]; modelRouter: ModelRouter | undefined; strategy: ProxyStartStrategy; passthrough: boolean; port: number; host: string; proxyConfig: LoadedProxyConfig | null; primaryAccountKey: string | undefined; accountAllowlist: AccountAllowlist | undefined; }): Promise<{ app: import("hono").Hono; readiness: import("../../lib/types/proxy.js").ProxyReadinessState; }>; export declare const proxyStartCommand: CommandModule; export declare const proxyStatusCommand: CommandModule; export declare const proxyTelemetryCommand: CommandModule; export declare const proxyGuardCommand: CommandModule; export declare const proxySetupCommand: CommandModule; export declare const proxyInstallCommand: CommandModule; export declare const proxyUninstallCommand: CommandModule;