///
import { I18n } from '@fexd/tools';
export default function useLocales(): {
getTranslatedText: (text: string, ...args: any[]) => string;
t: (text?: string, ...args: any[]) => string;
localeKey: import("@fexd/pro-utils").UniteOmit<"en_US" | "zh-CN" | "zh_CN" | "en-US" | "id-ID" | "id_ID" | "ms_MY" | "ms-MY" | "th-TH" | "th_TH", string>;
scopeI18n: I18n;
i18nT: (key?: string, ...args: any[]) => any;
withI18n: ({ fallback }?: {
fallback?: import("react").ReactNode;
}) => (Component: any) => import("react").Component<{}, {}, any>;
useI18n: () => {
t: (key?: string, ...args: any[]) => any;
jsxT: (key?: string, ...args: any[]) => any;
};
FormattedMessage: ({ value, config }: {
value: string;
config?: Record | undefined;
}) => any;
useTranslation: () => {
t: (key?: string, ...args: any[]) => any;
jsxT: (key?: string, ...args: any[]) => any;
};
};