import { Command } from 'commander'; import CatalystError from './error/index.js'; export declare class Client { private _cli; private load; get cli(): Command; constructor(program: Command); init(command?: string): Promise | unknown>; processArgs(...args: Array): Promise; getCommand(name: string): Command | null; getAllCommandNames(): Array; private convertOptions; exec(command: string, projectRoot: string, cwd: string, { args, options, inputs }?: { args?: Array; options?: Record>; inputs?: Record; }): Promise<{ exitCode: 0 | 1 | 2; error?: CatalystError; }>; }