import { type DisplayNamesData, type DisplayNamesLocaleData } from "@formatjs/ecma402-abstract"; export interface DisplayNamesOptions { localeMatcher?: "lookup" | "best fit"; style?: "narrow" | "short" | "long"; type: "language" | "region" | "script" | "currency" | "calendar" | "dateTimeField"; fallback?: "code" | "none"; languageDisplay?: "dialect" | "standard"; } export interface DisplayNamesResolvedOptions { locale: string; style: NonNullable; type: NonNullable; fallback: NonNullable; languageDisplay: NonNullable; } export declare class DisplayNames { constructor(locales: string | string[] | undefined, options: DisplayNamesOptions); static supportedLocalesOf(locales?: string | string[], options?: Pick): string[]; static __addLocaleData(...data: DisplayNamesLocaleData[]): void; of(code: string | number | Record): string | undefined; resolvedOptions(): DisplayNamesResolvedOptions; static localeData: Record; private static availableLocales; private static __defaultLocale; private static getDefaultLocale; static readonly polyfilled: true; }