import type { SuggestionResult } from 'cspell-trie-lib';
import type { SuggestDictionary } from './SpellingDictionary.js';
import type { TypoEntry, TyposDef } from './Typos/index.js';
export interface PreferredSuggestionResult extends SuggestionResult {
    isPreferred: true;
}
/**
 * Create a dictionary where all words are to be forbidden.
 * @param entries - list of Typos Entries
 * @param name - name of dictionary
 * @param source - source
 * @returns
 */
export declare function createSuggestDictionary(entries: readonly string[] | TyposDef | Iterable<TypoEntry>, name: string, source: string): SuggestDictionary;
/**
 * Create a suggestion dictionary from the contents of a trie file.
 * @param data - contents of a trie file.
 * @param name - name of dictionary
 * @param source - filename or uri
 * @returns SuggestDictionary
 */
export declare function createSuggestDictionaryFromTrieFile(data: string | Uint8Array<ArrayBuffer>, name: string, source: string): SuggestDictionary;
//# sourceMappingURL=SuggestDictionary.d.ts.map