import { type RuntimePlugin } from '@modern-js/runtime'; import type { BaseBackendOptions, BaseLocaleDetectionOptions } from '../shared/type'; import type { I18nInitOptions, I18nInstance } from './i18n'; import './types'; export type { I18nSdkLoader, I18nSdkLoadOptions } from '../shared/type'; export type { Resources } from './i18n/instance'; export interface I18nPluginOptions { entryName?: string; localeDetection?: BaseLocaleDetectionOptions; backend?: BaseBackendOptions; i18nInstance?: I18nInstance; changeLanguage?: (lang: string) => void; initOptions?: I18nInitOptions; htmlLangAttr?: boolean; [key: string]: any; } export declare const i18nPlugin: (options: I18nPluginOptions) => RuntimePlugin; export { useModernI18n } from './context'; export { I18nLink } from './I18nLink'; export default i18nPlugin;