import type { Grid3VerbFormsDetailed } from './types'; export interface Grid3VerbForms { locale: string; verbs: Map; } export declare class Grid3VerbsParser { private parser; parseXml(xmlContent: string, locale?: string): Grid3VerbForms; parseXmlDetailed(xmlContent: string, locale?: string): Grid3VerbFormsDetailed; parseXmlFileDetailed(filePath: string): Grid3VerbFormsDetailed; parseZip(zipPath: string): Grid3VerbForms; parseZipDetailed(zipPath: string): Grid3VerbFormsDetailed; parseLocale(locale: string, grid3InstallPath?: string): Promise; parseInstalledLocales(grid3InstallPath?: string): Promise>; /** * Parse all locales from a custom directory. * * The directory should have the same structure as Grid 3's Locale folder: * customDir/en-GB/verbs/verbs.zip * customDir/nb-NO/verbs/verbs.zip * customDir/de-DE/verbs/verbs.zip * * This allows users to supply morphology data copied from any Grid 3 * installation without needing Grid 3 installed on this machine. */ parseCustomDirectory(dirPath: string, detailed?: false): Map; parseCustomDirectory(dirPath: string, detailed: true): Map; private getDefaultInstallPath; private parseRuleSets; private parseVerbs; private generateForms; private generateFormsDetailed; private buildContext; private resolveTemplate; private addIfSingleWord; }