/** * UI18N 核心包 - Node.js 专用入口 * * 此入口包含完整的API功能,包括需要Node.js内置模块的高级特性 * 适用于服务端、CLI工具、构建脚本等Node.js环境 */ export * from '../index'; export { BrowserLanguageDetector, BrowserCacheManager, BrowserUI18n, createBrowserUI18n, checkBrowserSupport, detectLanguage } from '../browser/index'; export * from '../secure-config'; export { PhraseLibraryManager, defaultPhraseLibrary, type PhraseEntry, type PhraseLibraryConfig, type MatchResult, type PhraseLibraryStats } from '../phrase-library'; export { IncrementalTranslationManager, defaultIncrementalManager, type TranslationFileStatus, type ChangeRecord, type SyncStatus, type ConflictResolution, type IncrementalSyncConfig } from '../incremental-translation'; export { VersionControlManager } from '../version-control'; export * from '../advanced-performance-profiler'; export * from '../advanced-version-control'; export * from '../directory-manager'; export * from '../enhanced-ai-translator'; export * from '../feature-flags'; export * from '../review-command'; export * from '../status-command'; export * from '../team-collaboration'; export * from '../translation-protection'; export * from '../translation-status-manager'; /** * 创建企业级UI18n实例(启用所有高级功能) * 仅在Node.js环境中可用,包含文件系统和加密功能 * @param config 企业级配置 * @returns UI18n实例 */ export declare function createEnterpriseUI18n(config: { apiKey: string; provider?: 'openai' | 'anthropic' | 'google' | 'azure'; serviceMode?: 'self-hosted' | 'cloud' | 'hybrid'; enableVersionControl?: boolean; enablePhraseLibrary?: boolean; enableIncrementalTranslation?: boolean; }): any; /** * 创建生产环境UI18n实例(性能优化,Node.js专用功能) * @param config 生产环境配置 * @returns UI18n实例 */ export declare function createProductionUI18n(config: { apiKey: string; provider?: 'openai' | 'anthropic' | 'google' | 'azure'; enableVersionControl?: boolean; enableAdvancedFeatures?: boolean; }): any; /** * 创建带有完整Node.js功能的翻译监控器 * @param ui18n UI18n实例 * @returns 增强版监控器对象 */ export declare function createAdvancedTranslationMonitor(ui18n: any): any; /** * 创建CLI辅助工具(Node.js专用) */ export declare function createCLIHelper(): { /** * 初始化项目配置 */ initProject(projectPath: string): Promise; /** * 扫描项目中的翻译文本 */ scanProject(projectPath: string, patterns?: string[]): Promise; }; //# sourceMappingURL=index.d.ts.map