export interface CliParams { args: readonly string[]; cwd: string; env: Readonly>; write: (output: string) => void; } /** Runs a CLI command against the process, exiting 2 with the message on an unexpected error. */ export declare function runCli(run: (params: CliParams) => { exitCode: number; }): void;