export interface CliIo {
    readonly out: (line: string) => void;
    readonly err: (line: string) => void;
    readonly isTerminal?: boolean;
}
/** Runs the CLI and converts every expected failure into a bounded result. */
export declare function run(argv: readonly string[], io: CliIo): Promise<number>;
