/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import type { Val } from "@matter/protocol";
import type { ValReference } from "./ValReference.js";
/**
 * API for bypassing managed collections and accessing the internal object containing raw data.
 */
export declare namespace Internal {
    const reference: unique symbol;
    const session: unique symbol;
    interface Collection {
        [reference]: ValReference<Val.Collection>;
    }
    /**
     * Recursively unwrap managed proxies in a value tree, returning raw data.
     *
     * Primitives, Uint8Array, Date, and other non-plain objects pass through unchanged.  Plain
     * arrays and plain objects are walked; a new container is only allocated if a child was replaced.
     */
    function unmanage(value: Val): Val;
}
//# sourceMappingURL=Internal.d.ts.map