import { I18nResource } from '@p-lc/pd'; import { DataLoader } from '@p-lc/shared'; import { EditorRawPlugin } from '../../types'; import { editorPluginI18nStore, I18nState } from './editor-plugin-i18n-store'; /** * 编辑器国际化仓库初始化插件属性扩展 */ export interface EditorPluginI18nStoreInitPropertiesExt { editorInitOptions: { /** * (当前)语言 */ language?: string; /** * 国际化资源,会自动覆盖插件的国际化资源 */ i18n?: I18nResource; /** * 语言名称 */ languageNames?: Record; /** * 国际化状态加载器 */ i18nStateLoader?: DataLoader | null; }; } /** * 编辑器国际化仓库初始化插件 */ export declare const editorPluginI18nStoreInit: EditorRawPlugin; //# sourceMappingURL=editor-plugin-i18n-store-init.d.ts.map