import { type Accessor, type Component, type JSX } from 'solid-js'; import type { BaseFormatters, BaseTranslation, Locale, TranslationFunctions } from '../../runtime/src/core.mjs'; export type I18nContextType = TranslationFunctions> = { locale: Accessor; LL: Accessor; setLocale: (locale: L) => void; }; export type TypesafeI18nProps = { locale: L; children: JSX.Element; }; export type SolidInit = TranslationFunctions> = { TypesafeI18n: Component>; useI18nContext: () => I18nContextType; }; export declare const initI18nSolid: = TranslationFunctions, F extends BaseFormatters = BaseFormatters>(translations: Record, formatters?: Record) => SolidInit;