import { OnModuleDestroy } from '@nestjs/common'; import { Observable } from 'rxjs'; import { I18nLoader, I18nTranslation } from 'nestjs-i18n'; export interface I18nJsonParserOptions { paths: string[]; filePattern?: string; watch?: boolean; } export declare class I18nJsonParser extends I18nLoader implements OnModuleDestroy { private options; private watcher?; private events; constructor(options: I18nJsonParserOptions); onModuleDestroy(): Promise; languages(): Promise>; private aggregateLanguages; load(): Promise>; private parseTranslations; private parseLanguages; private sanitizeOptions; } export declare const getDirectories: (source: string) => Promise; export declare function filterAsync(array: T[], callbackfn: (value: T, index: number, array: T[]) => Promise): Promise; export declare function mapAsync(array: T[], callbackfn: (value: T, index: number, array: T[]) => Promise): Promise; export declare const isDirectory: (source: string) => Promise; export declare const getFiles: (dirPath: string, pattern: RegExp) => Promise;