import { HTMLEditor } from '../../core/HTMLEditor';
import { Plugin } from '../../core/Plugin';
export declare class SpellCheckerPlugin implements Plugin {
    name: string;
    hotkeys: {
        keys: string;
        description: string;
        command: string;
        icon: string;
    }[];
    private editor;
    private toolbarButton;
    private isSpellCheckEnabled;
    private spellChecker;
    private misspelledWords;
    private lastResults;
    constructor();
    initialize(editor: HTMLEditor): Promise<void>;
    private loadDictionary;
    private addToolbarButton;
    private enableSpellCheck;
    private addSpellCheckListeners;
    private removeSpellCheckListeners;
    private handleInput;
    private handleMouseUp;
    private handleContextMenu;
    private checkAllText;
    private checkSpelling;
    private isMisspelled;
    private getSpellingSuggestions;
    private highlightMisspelledWord;
    private clearHighlights;
    private showContextMenu;
    private replaceMisspelledWord;
    destroy(): void;
}
