UNPKG

scrabble-solver

Version:

Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.

13 lines (12 loc) 391 B
import { Trie } from '@kamilmielnik/trie'; import { Locale } from '@scrabble-solver/types'; export declare class Dictionaries { private readonly cache; private readonly downloadDictionaryProxies; constructor(); get(locale: Locale): Promise<Trie>; remove(): void; update(force?: boolean): Promise<void>; private getLocalesToUpdate; private updateDictionary; }