import type VTableSheet from '../components/vtable-sheet';
interface AutocompleteItem {
    type: 'function' | 'cell' | 'range';
    value: string;
    label: string;
    description?: string;
    signature?: string;
}
export declare class FormulaAutocomplete {
    private container;
    private dropdown;
    private items;
    private selectedIndex;
    private isVisible;
    private inputElement;
    private sheet;
    private onSelectCallback?;
    private customPositioning?;
    constructor(container: HTMLElement, sheet: VTableSheet);
    private createDropdown;
    attachTo(input: HTMLInputElement, onSelect?: (item: AutocompleteItem) => void, customPositioning?: () => void): void;
    private handleInput;
    private parseInputContext;
    private updateSuggestions;
    private generateCellSuggestions;
    private getFunctionDescription;
    private getFunctionSignature;
    private renderDropdown;
    private groupItems;
    private getGroupTitle;
    private getTypeLabel;
    private positionDropdown;
    private handleKeydown;
    private scrollToSelectedItem;
    private selectItem;
    private show;
    private hide;
    release(): void;
}
export {};
