/** * Команды для системы миграции конфигураций */ import { MigrationCommand, MigrationStepResult, ConfigVersion, VersionDetector, ConfigValidator } from './types'; /** Команда детекции версии конфигурации */ export declare class DetectVersionCommand implements MigrationCommand { name: string; description: string; execute(config: any): MigrationStepResult; } /** Команда валидации конфигурации */ export declare class ValidateConfigCommand implements MigrationCommand { name: string; description: string; execute(config: any, options: { version: ConfigVersion; }): MigrationStepResult; } /** Команда очистки конфигурации от неизвестных полей */ export declare class CleanConfigCommand implements MigrationCommand { name: string; description: string; execute(config: any, options: { version: ConfigVersion; preserveUnknown?: boolean; }): MigrationStepResult; private cleanConfigForVersion; } /** Команда создания резервной копии */ export declare class BackupConfigCommand implements MigrationCommand { name: string; description: string; execute(config: any, options?: { timestamp?: boolean; }): MigrationStepResult; } /** Дефолтный детектор версий */ export declare class DefaultVersionDetector implements VersionDetector { detect(config: any): ConfigVersion | null; } /** Дефолтный валидатор конфигураций */ export declare class DefaultConfigValidator implements ConfigValidator { validate(config: any, version: ConfigVersion): { isValid: boolean; errors: string[]; warnings: string[]; }; private validateV1; private validateV2; private validateV3; private getNestedValue; } /** Фабрика команд */ export declare class CommandFactory { private static commands; static createCommand(name: string): MigrationCommand | null; static getAllCommands(): string[]; static registerCommand(name: string, factory: () => MigrationCommand): void; } //# sourceMappingURL=commands.d.ts.map