import type { ParseArgsOptionDescriptor } from 'node:util'; import type AbstractCommand from '../modules/AbstractCommand.ts'; import type Server from '../server.ts'; import Base from './Base.ts'; export interface ParseArgsOptionsConfigExtended extends ParseArgsOptionDescriptor { /** * A description of the option. */ description?: string; /** * Is it required? */ required?: boolean; } declare class Cli extends Base { server: Server; commands: Record; constructor(server: Server); loadCommands(): Promise; printCommandTable(): Promise; static showHelp(Command: typeof AbstractCommand, finalArguments: Record): void; run(command: string): Promise; static get loggerGroup(): string; } export default Cli;