export interface ParsedArgs { command: string; positional: string[]; flags: Record; } export declare function parseArgs(argv: string[]): ParsedArgs; export declare function getVersionText(): string; export declare function getHelpText(): string; export type CommandHandler = (args: ParsedArgs) => Promise; export interface CommandRegistry { [command: string]: CommandHandler; } export declare function runCLI(argv: string[], commands: CommandRegistry): Promise; //# sourceMappingURL=router.d.ts.map