import { Map } from 'immutable'; import type { FC } from 'react'; import type { translation, Translator, TranslatorContext } from '@ui-schema/ui-schema/Translator'; export interface TranslateProps { text: string; context?: TranslatorContext; /** * @todo rename to `dict`? as its just the `t` keyword, not any real schema */ schema?: Map; fallback?: translation; t?: Translator; } /** * Translation component, supports dot strings, dictionary can be mixed strings, string functions and function components as translation */ export declare const Translate: FC;