import React from "react"; import { CustomMapping, LocaleProperties } from "generaltranslation/types"; //#region src/components/helpers/InternalLocaleSelector.d.ts /** * A dropdown component that allows users to select a locale. * @param {string} locale - The currently selected locale. * @param {string[]} locales - The list of all available locales. * @param {function} setLocale - Function to update the current locale. * @param {function} getLocaleProperties - Function to retrieve properties for a given locale. * @param {object} [customNames] - (deprecated) An optional object to map locales to custom names. Use `customMapping` instead. * @param {CustomMapping} [customMapping] - An optional object to map locales to custom display names, emojis, or other properties. * @returns {React.ReactElement | null} The rendered locale dropdown component or null to prevent rendering. * * @internal */ declare function InternalLocaleSelector({ locale, locales, customNames, customMapping, setLocale, getLocaleProperties, ...props }: { locale: string; locales: string[]; customNames?: { [key: string]: string; }; customMapping?: CustomMapping; setLocale: (locale: string) => void; getLocaleProperties: (locale: string) => LocaleProperties; [key: string]: any; }): React.JSX.Element | null; //#endregion export { InternalLocaleSelector }; //# sourceMappingURL=InternalLocaleSelector.d.ts.map