/** * Command Provider * * Provides completion suggestions for subcommands. * Supports hierarchical format: when specOffset === 1, only * returns spec-scoped commands. */ import { CompletionContext, CompletionOptions, CompletionProvider, CompletionSuggestion } from "../types.d.ts"; export declare class CommandProvider implements CompletionProvider { private options; private availableCommands; constructor(options?: CompletionOptions); canHandle(context: CompletionContext): boolean; provide(context: CompletionContext): Promise; /** * Get list of available command names */ getCommands(): string[]; }