/** * Dictionary registry — loads and indexes all language dictionaries. */ import type { DictionaryEntry, PhraseEntry } from '../types.js'; export interface LanguagePack { code: string; name: string; words: DictionaryEntry[]; phrases: PhraseEntry[]; } /** * Get all available language codes. */ export declare function availableLanguages(): string[]; /** * Get words for specific languages (or all if none specified). */ export declare function getWords(languages?: string[] | null): DictionaryEntry[]; /** * Get phrases for specific languages (or all if none specified). */ export declare function getPhrases(languages?: string[] | null): PhraseEntry[];