import { I18nIntegrationConfig } from '../types'; /** * Default configuration for the i18n integration tool */ export declare const DEFAULT_CONFIG: I18nIntegrationConfig; /** * Configuration manager for the i18n integration tool */ export declare class ConfigManager { private config; private configPath; private commandLineOverrides; constructor(configPath?: string); /** * Load configuration from file or use defaults */ load(): Promise; /** * Save current configuration to file */ save(): Promise; /** * Get current configuration */ getConfig(): I18nIntegrationConfig; /** * Update configuration */ updateConfig(updates: Partial): void; /** * Set command-line overrides */ setCommandLineOverrides(overrides: Partial): void; /** * Apply command-line overrides to current config */ applyCommandLineOverrides(overrides: Partial): void; /** * Find configuration file in common locations */ private findConfigFile; /** * Deep merge configuration objects (supports multiple sources) */ private mergeConfig; /** * Get configuration help text */ getConfigHelp(): string; /** * Validate a configuration value by path */ validateConfigValue(path: string, value: any): { isValid: boolean; error?: string; }; /** * Get all available configuration paths */ getConfigPaths(): string[]; /** * Get configuration schema for a specific path */ getConfigSchema(path: string): { type: "string" | "number" | "boolean" | "array" | "object"; required?: boolean; default?: any; validate?: (value: any) => boolean | string; description?: string; options?: any[]; }; /** * Export configuration to different formats */ exportConfig(format?: 'json' | 'yaml' | 'env'): Promise; /** * Import configuration from string */ importConfig(content: string, format?: 'json' | 'yaml'): Promise; /** * Reset configuration to defaults */ resetToDefaults(): void; /** * Check if configuration file exists */ configFileExists(): Promise; /** * Get configuration file path */ getConfigPath(): string; /** * Get resolved source directories as absolute paths */ getSourceDirectories(): string[]; /** * Get resolved translation files directory */ getTranslationDirectory(): string; /** * Get file patterns for scanning */ getFilePatterns(): string[]; /** * Validate value type */ private validateType; /** * Convert configuration to YAML format (simple implementation) */ private configToYAML; /** * Convert configuration to environment variables format */ private configToEnv; /** * Convert YAML to configuration (simple implementation) */ private yamlToConfig; /** * Parse YAML value to appropriate type */ private parseYAMLValue; /** * Set nested configuration value */ private setNestedConfigValue; } //# sourceMappingURL=config.d.ts.map