#!/usr/bin/env node /** * Starts the compression proxy and prints the URL to point a client at. * * WHY A SEPARATE ENTRYPOINT. `startProxy` was reachable only as a library * function, so nothing could actually run it: not a user, not `doctor`, and not * the THOL rig, which launches a client inside a container and has nowhere to * call a TypeScript function from. The compression work therefore had no * end-to-end measurement available at all -- a gap that reads like "not * measured yet" and is really "cannot be measured yet". * * The output contract is deliberately narrow so a launcher can consume it: * * STDOUT is exactly one line, the base URL. * STDERR carries the banner and the per-request summaries. * * Nothing else is ever written to stdout, so a shell can capture it without * filtering, and a summary line can never be mistaken for the URL. */ interface Args { readonly port: number; readonly upstream?: string; readonly preset?: string; readonly projectRoot?: string; readonly quiet: boolean; readonly help: boolean; } export declare function parseArgs(argv: readonly string[]): Args; export declare function run(argv: readonly string[]): Promise; export {}; //# sourceMappingURL=cli.d.ts.map