import { AppLangEventPayloadsMap, Translations } from '../types/locale.types'; import EventEmitter from '../utils/event-emitter'; export default class AppLang { protected static _lang: string; static readonly localeSelector = "[data-js-locale]"; protected static translations: Translations; static readonly eventEmitter: EventEmitter; static findLocaleHTMLEls(parent?: HTMLElement): HTMLElement[]; static findLocaleByHTMLEl(parent: HTMLElement): string; static getHTMLElLocaleProperty(htmlEl?: HTMLElement | null): string; static getHTMLElLocaleKey(htmlEl?: HTMLElement | null): string; static setHTMLElLocaleKey(htmlEl: HTMLElement, key: string): void; static updateHTMLElLocale(htmlEl: HTMLElement): void; static update(): void; protected static changeLang(value: string): void; static getLocale(value: string): string; static checkIsAvailableLang(lang: string): boolean; static get lang(): string; static set lang(value: string); static get availableLangs(): string[]; }