import { Command } from 'commander'; import { CommandContext } from '../types/index.js'; export interface CommandDefinition { name: string; description: string; version: string; examples: string[]; createCommand: (context: CommandContext) => Command; } export declare class CommandRegistry { private commands; private context; constructor(context: CommandContext); private registerBuiltInCommands; registerCommand(name: string, definition: CommandDefinition): void; unregisterCommand(name: string): void; getCommand(name: string): CommandDefinition | undefined; listCommands(): CommandDefinition[]; createProgram(): Command; }