import { Stream } from "@rimbu/stream";
import { Dictionary, TranslationsByPhrase } from "./Dictionary";
import { LocaleLike } from "./LocaleLike";
export type TranslationsByLanguageTag = Readonly<{
    [languageTag: string]: string;
}>;
export declare class DictionaryLibrary {
    private readonly translationsByLanguageTag;
    static empty(): DictionaryLibrary;
    static byLanguageTag(translationsByLanguageTagThenPhrase: Readonly<{
        [languageTag: string]: TranslationsByPhrase;
    }>): DictionaryLibrary;
    static byPhrase(translationsByPhraseThenLanguageTag: Readonly<{
        [phrase: string]: TranslationsByLanguageTag;
    }>): DictionaryLibrary;
    private constructor();
    getDictionary(locale: LocaleLike): Dictionary;
    streamLanguageTags(): Stream<Intl.BCP47LanguageTag>;
}
//# sourceMappingURL=DictionaryLibrary.d.ts.map