/**
 * CodeWhisperer 配置迁移工具
 * 确保从传统配置到增强配置的平滑迁移
 * 项目所有者: Jason Zhang
 */
import { KiroAuthConfig, AuthMethod } from './enhanced-auth-config';
export interface LegacyCodeWhispererConfig {
    tokenPath?: string;
    region?: string;
    profileArn?: string;
    refreshUrl?: string;
    timeout?: number;
    maxRetries?: number;
    enableDebug?: boolean;
}
export declare class CodeWhispererConfigMigrator {
    /**
     * 从传统配置迁移到增强配置
     */
    static migrateFromLegacy(legacyConfig?: LegacyCodeWhispererConfig): KiroAuthConfig;
    /**
     * 自动检测现有配置并迁移
     */
    static autoMigrateFromEnvironment(): KiroAuthConfig;
    /**
     * 创建基于多源凭据的配置
     */
    static createMultiSourceConfig(options: {
        base64Creds?: string;
        credsFilePath?: string;
        credsDirPath?: string;
        region?: string;
        authMethod?: AuthMethod;
        enableDebugLog?: boolean;
    }): KiroAuthConfig;
    /**
     * 获取默认增强配置
     */
    static getDefaultEnhancedConfig(): KiroAuthConfig;
    /**
     * 验证配置有效性
     */
    static validateConfig(config: KiroAuthConfig): {
        isValid: boolean;
        errors: string[];
    };
    /**
     * 比较两个配置的差异
     */
    static compareConfigs(oldConfig: KiroAuthConfig, newConfig: KiroAuthConfig): {
        hasChanges: boolean;
        changes: string[];
    };
}
//# sourceMappingURL=config-migration.d.ts.map