export interface Command {
    cmd: string;
    desc: string;
}
export interface SuggestionMatch {
    cmd: string;
    desc: string;
    score?: number;
}
export declare class SuggestionEngine {
    private commands;
    private currentSuggestions;
    private selectedIndex;
    private isShowing;
    setCommands(commands: Command[]): void;
    updateSuggestions(input: string, minLength?: number): void;
    private calculateMatchScore;
    clearSuggestions(): void;
    selectPrevious(): boolean;
    selectNext(): boolean;
    getSelectedSuggestion(): SuggestionMatch | null;
    acceptSuggestion(): string | null;
    getCommonPrefix(input: string): string | null;
    renderSuggestions(maxSuggestions: number, terminalWidth: number, searchTerm: string): string[];
    getState(): {
        isShowing: boolean;
        suggestions: SuggestionMatch[];
        selectedIndex: number;
        count: number;
    };
    isShowingSuggestions(): boolean;
    getSuggestionCount(): number;
    reset(): void;
    handleInputChange(input: string): void;
    calculateSuggestionHeight(availableSpace: number, preferredMin?: number): number;
}
export declare const suggestionEngine: SuggestionEngine;
//# sourceMappingURL=suggestion-engine.d.ts.map