import type { Options as IntlMessageFormatOptions } from 'intl-messageformat'; import type { IntlShapeEx, SupportedLocales, IntlConfigCore } from './types'; /** * Creates and returns global or local instance of Intl * @param {SupportedLocales} locale one of the locales supported * @param {MessageSource} messages object with locale strings * @param {boolean|IntlConfigCore} config to pass additional Intl config parameters or boolean for isGlobal (later is for backwards compatibility) * */ export declare const createI18n: >(locale: SupportedLocales, messages: MessageSource, config?: boolean | IntlConfigCore) => IntlShapeEx; export default function useI18n>(): IntlShapeEx; export type { IntlMessageFormatOptions }; //# sourceMappingURL=i18n.d.ts.map