import type { ISOLocale, Locale, Page } from "../../types/core"; import * as React from "react"; declare const PageContext: React.Context; /** * `` * * This provider component inject some props in the context of the page. Then you can retrieve the context values using the `usePage()` hook. */ declare function PageProvider(props: PageProviderProps): JSX.Element; type PageProps = Pick; export type PageContextProps = Partial & { /** The locale code for the page language */ locale?: Locale; /** The locale code (ISO format) for the page language */ ISOLocale?: ISOLocale; }; export interface PageProviderProps extends PageProps { children: JSX.Element; } export { PageContext, PageProvider };