import type { CommandModule } from "yargs"; export interface BootstrapCommandFlags { readonly help?: boolean; readonly json?: boolean; readonly jsonl?: boolean; readonly verbosity?: string; readonly version?: boolean; } export interface BootstrapCommandPayload { readonly command: string; readonly args: string[]; readonly flags: BootstrapCommandFlags; } interface BootstrapOptions { readonly argv: readonly string[]; readonly onRootHelp: () => void; readonly onVersion: () => void; readonly onValidationError: (message: string) => void; readonly onCommand: (payload: BootstrapCommandPayload) => Promise; readonly commandModules?: readonly CommandModule[]; } export declare function bootstrapCli(options: BootstrapOptions): Promise; export {};