/**
 * Configuration Migration Tool
 *
 * Migrates old .env-only format to split secrets/config format
 *
 * @module core/config/config-migrator
 */
/**
 * Classification result for an environment variable
 */
export interface EnvVarClassification {
    key: string;
    value: string;
    type: 'secret' | 'config';
    reason: string;
}
/**
 * Migration result
 */
export interface MigrationResult {
    success: boolean;
    secretsCount: number;
    configCount: number;
    backupPath?: string;
    errors: string[];
    warnings: string[];
    classified: EnvVarClassification[];
}
/**
 * Migration options
 */
export interface MigrationOptions {
    dryRun?: boolean;
    backup?: boolean;
    force?: boolean;
}
/**
 * Migrates .env-only configuration to split format
 */
export declare class ConfigMigrator {
    private projectRoot;
    private envPath;
    private configManager;
    /**
     * Secret keywords (case-insensitive)
     */
    private static SECRET_KEYWORDS;
    /**
     * Email patterns (for auth purposes, considered secrets)
     */
    private static EMAIL_PATTERN;
    constructor(projectRoot?: string);
    /**
     * Check if migration is needed
     *
     * @returns True if project needs migration
     */
    needsMigration(): Promise<boolean>;
    /**
     * Classify environment variables as secrets or config
     *
     * @param envVars - Parsed environment variables
     * @returns Classification results
     */
    classifyVariables(envVars: Record<string, string>): EnvVarClassification[];
    /**
     * Classify a single variable
     *
     * @param key - Environment variable key
     * @param value - Environment variable value
     * @returns Classification result
     */
    private classifyVariable;
    /**
     * Build config object from classified variables
     *
     * @param classified - Classified variables
     * @returns Configuration object
     */
    private buildConfigFromVars;
    /**
     * Migrate configuration
     *
     * @param options - Migration options
     * @returns Migration result
     */
    migrate(options?: MigrationOptions): Promise<MigrationResult>;
    /**
     * Generate placeholder value for .env.example
     *
     * @param key - Environment variable key
     * @returns Placeholder value
     */
    private generatePlaceholder;
    /**
     * Preview migration (dry run)
     *
     * @returns Migration preview
     */
    preview(): Promise<MigrationResult>;
}
//# sourceMappingURL=config-migrator.d.ts.map