/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import type { Storage } from "./Storage.js"; /** * A simple storage migrator of storage. * * It does not modify or remove source data. */ export declare namespace StorageMigration { interface MigrationSkipped { contexts: string[]; key: string; error: string; } interface MigrationResult { success: boolean; migratedCount: number; skippedCount: number; skippedItems: MigrationSkipped[]; } /** * Migrate storage from `source` to `target`. */ function migrate(source: Storage, target: Storage): Promise; /** * Export migration result to log */ function resultToLog(result: MigrationResult): string; } //# sourceMappingURL=StorageMigration.d.ts.map