import type { AppTools, CliPlugin } from '@modern-js/app-tools'; import type { Entrypoint } from '@modern-js/types'; import type { BackendOptions, LocaleDetectionOptions } from '../shared/type'; import '../runtime/types'; export type TransformRuntimeConfigFn = (extendedConfig: Record, entrypoint: Entrypoint) => Record; export interface I18nPluginOptions { localeDetection?: LocaleDetectionOptions; backend?: BackendOptions; transformRuntimeConfig?: TransformRuntimeConfigFn; customPlugin?: { runtime?: { name?: string; path?: string; }; server?: { name?: string; }; }; [key: string]: any; } export declare const i18nPlugin: (options?: I18nPluginOptions) => CliPlugin; export default i18nPlugin;