/** * Примеры использования системы миграции конфигураций */ import { ConfigV1, ConfigV2 } from './types'; /** Пример простой миграции V1 -> V2 */ export declare function exampleSimpleMigration(): Promise; /** Пример детальной миграции с отчетами */ export declare function exampleDetailedMigration(): Promise; /** Пример пакетной миграции нескольких конфигураций */ export declare function exampleBatchMigration(): Promise<({ id: string; originalVersion: "1.0"; migrated: boolean; result: ConfigV2 | null; } | { id: string; originalVersion: "2.0"; migrated: boolean; result: { settings: { widgetTitle: string; welcomeMessage: string; bgChat: string; gapMessageLine: number; paddingChat: number; fontFamily: string; borderRadius: string; launchView: string; letterSpacing: number; logo: string; fontWeight: number; loader?: undefined; buttonStyle?: undefined; buttonType?: undefined; }; sections: { top: { params: { size: string; chipStyle?: undefined; }; chipWidgetTitle: { color: string; bgColor: string; }; btnClose: { color: string; bgColor: string; }; }; inside: { params: { size: string; }; messageUser: { color: string; bgColor: string; bgType?: undefined; }; messageBot: { color: string; bgColor: string; bgType?: undefined; }; welcomeMessage: { color: string; }; aprooveButton?: undefined; rejectButton?: undefined; }; bottom: { params: { size: string; }; inputSend: { color: string; bgColor: string; borderStyle?: undefined; inputStyle?: undefined; bgType?: undefined; }; btnSend: { color: string; bgColor: string; type: string; }; activeBtn: { color: string; bgColor: string; }; warningAlert?: undefined; disclaimer?: undefined; }; }; } | { settings: { widgetTitle: string; welcomeMessage: string; bgChat: string; gapMessageLine: number; paddingChat: number; fontFamily: string; borderRadius: string; launchView: string; letterSpacing: number; logo: string; fontWeight: number; loader: string; buttonStyle: string; buttonType: string; }; sections: { top: { params: { size: string; chipStyle: string; }; chipWidgetTitle: { color: string; bgColor: string; }; btnClose: { color: string; bgColor: string; }; }; inside: { params: { size: string; }; messageUser: { color: string; bgColor: string; bgType: string; }; messageBot: { color: string; bgColor: string; bgType: string; }; welcomeMessage: { color: string; }; aprooveButton: { color: string; bgColor: string; }; rejectButton: { color: string; bgColor: string; }; }; bottom: { params: { size: string; }; inputSend: { color: string; bgColor: string; borderStyle: { borderColor: string; borderWidth: number; }; inputStyle: string; bgType: string; }; btnSend: { color: string; bgColor: string; type: string; }; activeBtn: { color: string; bgColor: string; }; warningAlert: { color: string; bgColor: string; }; disclaimer: string; }; }; }; } | { id: string; originalVersion: "3.1" | "3.0" | null; migrated: boolean; result: null; })[]>; /** Пример с обработкой ошибок */ export declare function exampleErrorHandling(): Promise; /** Демонстрация всех примеров */ export declare function runAllExamples(): Promise; export declare const SAMPLE_CONFIGS: { V1_BASIC: ConfigV1; V2_COMPLETE: ConfigV2; }; //# sourceMappingURL=examples.d.ts.map