import * as colors from 'kleur/colors'; export { colors }; declare function throwAndExit(cmd: string, err: unknown): Promise; interface CommandFlags { [flag: string]: string; } interface Command { name?: string; desc: string; show?: string; dir?: string; usage?: string; fnName?: string; file?: string; flags?: CommandFlags; alias?: string; } interface Commands { [commandName: string]: Command; } interface Flags { [flag: string]: string; } interface CliConfig { name?: string; version?: string; desc: string; usage?: string; dir: string; commands?: Commands; flags?: Flags; } /** The primary CLI action */ declare function cli(cfg: CliConfig, args: string[]): Promise; export { type CliConfig, cli, throwAndExit };