#!/usr/bin/env node import { startProxyServer as startProxyServerDefault } from './proxy-server.js'; import type { ProxyConfig } from './proxy-types.js'; interface ParseProxyConfigDependencies { readFile?: (path: string, encoding: BufferEncoding) => Promise; } interface RunProxyCliDependencies extends ParseProxyConfigDependencies { startProxyServer?: typeof startProxyServerDefault; stdout?: Pick; stderr?: Pick; waitForShutdown?: (shutdown: () => Promise) => Promise; } export declare function isCliInvocation(argv: string[], moduleUrl: string, realpath?: (path: string) => string): boolean; export declare function parseProxyConfigFromArgs(args: string[], dependencies?: ParseProxyConfigDependencies): Promise; export declare function runProxyCli(args?: string[], dependencies?: RunProxyCliDependencies): Promise; export {};