/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Behavior } from "#behavior/Behavior.js";
import { Val } from "#protocol";
/**
 * Add a data migration.
 *
 * Migrations allow the server to adjust persisted data when the stored format is incompatible with current code.
 */
export declare function Migration(id: string, migrator: Migration.Migrator): void;
export declare namespace Migration {
    function migrate(type: Behavior.Type, values: Val.Struct): void;
    interface Migrator {
        (values: Val.Struct, type: Behavior.Type): void;
    }
}
//# sourceMappingURL=Migration.d.ts.map