import type { NobjcObject } from "objc-js";
import type { _NSArray } from "./NSArray.js";
import type { _NSDictionary } from "./NSDictionary.js";
import type { _NSOrthography } from "./NSOrthography.js";
import type { _NSSpellServer } from "./NSSpellServer.js";
import type { _NSString } from "./NSString.js";
import type { NSRange } from "../structs/NSRange.js";
export interface _NSSpellServerDelegate {
    spellServer$findMisspelledWordInString$language$wordCount$countOnly$?(sender: _NSSpellServer, stringToCheck: _NSString, language: _NSString, wordCount: NobjcObject, countOnly: boolean): NSRange;
    spellServer$suggestGuessesForWord$inLanguage$?(sender: _NSSpellServer, word: _NSString, language: _NSString): _NSArray | null;
    spellServer$didLearnWord$inLanguage$?(sender: _NSSpellServer, word: _NSString, language: _NSString): void;
    spellServer$didForgetWord$inLanguage$?(sender: _NSSpellServer, word: _NSString, language: _NSString): void;
    spellServer$suggestCompletionsForPartialWordRange$inString$language$?(sender: _NSSpellServer, range: NSRange, string_: _NSString, language: _NSString): _NSArray | null;
    spellServer$checkGrammarInString$language$details$?(sender: _NSSpellServer, stringToCheck: _NSString, language: _NSString | null, details: NobjcObject | null): NSRange;
    spellServer$checkString$offset$types$options$orthography$wordCount$?(sender: _NSSpellServer, stringToCheck: _NSString, offset: number, checkingTypes: number, options: _NSDictionary | null, orthography: _NSOrthography | null, wordCount: NobjcObject): _NSArray | null;
    spellServer$recordResponse$toCorrection$forWord$language$?(sender: _NSSpellServer, response: number, correction: _NSString, word: _NSString, language: _NSString): void;
}
