// Copyright © 2022-2026 Partium, Inc. DBA Partium /** * internationalization object that contains a map with a generic value and some useful helper methods */ export declare class i18nMap { protected readonly fallbackLanguage = "en"; protected map: Map; constructor(strings?: { [name: string]: T; }); /** * checks if a value exists for provided language code */ hasLanguage(code: string): boolean; /** * get all available languages */ getAvailableLanguages(): string[]; /** * returns the value in the following order of availability: * returns the value of provided language code, * or returns the value of fallbackLanguage * or returns the next available value * or returns undefined if no value */ getValue(code: string): T; getMap(): Map; /** * returns the i18n map as object to e.g. allow for serialization */ getAsObject(): { [name: string]: T; }; }