import React from 'react'; interface Props { children: React.ReactNode; locale: string; } interface FMProps { id: string; defaultMessage: string; } export declare const LocalContext: React.Context; export declare const LocaleProvider: (props: Props) => JSX.Element; /** * 获取当前选择的语言 * @returns string */ export declare const getLocale: () => string; export declare const FormattedMessage: (props: FMProps) => any; export declare const FM: (props: FMProps) => JSX.Element; export {};