export interface CliIo { stdout: { write(text: string): unknown; }; stderr: { write(text: string): unknown; }; } /** Default output: the input path with its extension replaced by `.generated.ts`. */ export declare function defaultOutputPath(input: string): string; /** Runs the CLI; returns the exit code (0 ok, 1 conversion / io failure, 2 usage). */ export declare function runCli(argv: string[], io: CliIo): number;