import type { PropsWithChildren } from 'react'; import React from 'react'; import { ParticularConfig } from '@particular.cloud/i18n-js'; export declare type LangCodeOrLocale = string; interface I18nContext { langCodeOrLocale?: LangCodeOrLocale; published?: Date; config?: ParticularConfig; } export declare const I18nContext: React.Context; export interface I18nProviderProps { config?: ParticularConfig; } /** * I18nProvider: set your Particular.Cloud project token and add options to your ParticularConfig (resets all prior configurations) */ export declare function I18nProvider({ config, children }: PropsWithChildren): JSX.Element; export {};