import React from 'react'; import { Configs } from '../Configs'; export type IntlMessages = { [key: string]: string; }; /** * Interface of object passed as param to the IntlConsumer render prop method. */ export interface IntlContextData { __: (message: string) => string; changeLocale: (slug: string) => void; changeDirection: (direction: Configs['direction']) => void; direction: Configs['direction']; locale: string; messages: IntlMessages; rtl: boolean; } /** * This is the context where BlueBase theme is stored. */ export declare const IntlContext: React.Context; /** * BlueBase theme consumer. */ export declare const IntlConsumer: React.Consumer;