import * as React from 'react'; import PropTypes from 'prop-types'; export interface UserLanguageProviderProps { children: React.ReactNode; translations?: Translations; defaultUserLanguage: string; } export declare function UserLanguageProvider(props: UserLanguageProviderProps): import("react/jsx-runtime").JSX.Element; export declare namespace UserLanguageProvider { var propTypes: { children: PropTypes.Validator>; defaultUserLanguage: PropTypes.Requireable; }; } export declare function useUserLanguage(): string; export declare function useSetUserLanguage(): React.Dispatch>; export interface TranslateOptions { ignoreWarning?: boolean; } export type Translate = (key: string, options?: TranslateOptions) => any; export declare function useTranslate(): Translate; export type Translations = { [key in string]?: string | Translations }; export interface RequireContext { (req: string): string; keys: () => string[]; } export declare function mapTranslations(req: RequireContext): Translations;