import { Api, Command } from '../api'; export default class Lang { /** * [lang, absPath][] */ lang: [string, string][]; localePath: string; locales: { [lang: string]: { [key: string]: string; }; }; regexp: { formatMessgae: RegExp; FormattedMessage: RegExp; }; private api; private command; constructor(api: Api, command: Command); compile: () => void; hasLocaleMethods: (fileContent: string) => boolean; formatMessage: (fileContent: string, lang: string) => string; FormattedMessage: (fileContent: string, lang: string) => string; get: (id: string, lang: string, defaultMessage?: string | undefined, values?: undefined) => string | undefined; clean: () => void; /** * @returns [lang, absPath][] */ private getLang; }