/** * PerseusI18nContext provides a way to set the strings and locale that are * used inside the Perseus package. * */ import * as React from "react"; import type { PerseusStrings } from "../strings"; export type I18nContextType = { strings: PerseusStrings; locale: string; }; export declare const mockPerseusI18nContext: { strings: PerseusStrings; locale: string; }; export declare const PerseusI18nContext: React.Context; type Props = React.PropsWithChildren; export declare function PerseusI18nContextProvider({ children, strings, locale }: Props): React.JSX.Element; export declare const usePerseusI18n: () => I18nContextType; export {};