export interface TDSnapLexiconForm { tag: string; form: string; } export interface TDSnapLexiconEntry { lexemeId: number; forms: TDSnapLexiconForm[]; } export interface TDSnapLexiconData { locale: string; words: Map; } export declare class TDSnapLexiconParser { parseDb(dbPath: string, locale?: string): TDSnapLexiconData; private inferLocale; private extractAll; lookupWord(data: TDSnapLexiconData, word: string): string[]; lookupWordByTag(data: TDSnapLexiconData, word: string, tag: string): string[]; static readonly TAG_TO_POS: Record; static readonly HANDLER_TAG_MAP: Record; static parseContentTypeHandler(handler: string): { category: string; subtype: string; params: string[]; } | null; static tagToPos(tag: string): string; static handlerToPos(handler: string): string; }