import { LoadStats } from "@tremho/locale-string-tables"; import { FileOps } from "./Formatter"; declare const wrapper: { /** * Call once before using other functions of the i18n API. * If you do not call this before using any of the api functions, then it will be called upon first entry into an * api function, but there may be a resulting slight delay due to the initialization. * For this reason, it is best to initialize ahead of time. * As a convenience if you need to supply custom FileOps (see `Formatter.setFileOps()`), you may pass your * FileOps object here rather than having to call `Formatter.setFileOps()` first. Both methods are equivalent * in functional result. * * @param withFileOps The FileOps that will be passed to `Formatter.setFileOps()` before initializing the * i18n system. */ init(withFileOps?: FileOps): void; addI18nLocation(i18nPath: string): void; getSystemLocale(): string; setLocale(locale?: string): LoadStats; isLocaleLoaded(locale: any): boolean; hasLocaleString(id: any): boolean; getLocaleString(id: any, useDefault?: string, silent?: boolean): string; populateObjectStrings(obj: any, shallow?: boolean): void; translateObjectStrings(obj: any, shallow?: boolean): any; getTokenDefault(inStr: string, silent?: boolean): string; getPluralizedString(locale: string, stringId: string, count: number, type?: string): any; pluralize(locale: any, word: any, count: any, type?: string): any; getInstalledLocales(): unknown[]; enumerateAvailableLocales(callback: any): unknown[]; }; export default wrapper;