/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Diagnostic } from "#general";
/**
 * Utility for tracking location in the Matter data model.  This location is used for diagnostics.
 *
 * The path consists of a sequence of IDs, optionally with type information.
 */
export interface DataModelPath extends Diagnostic {
    parent?: DataModelPath;
    id: string | number;
    type?: string;
    at(name: string | number, type?: string): DataModelPath;
    toString(includeType?: boolean): string;
    toArray(): (string | number)[];
}
/**
 * Create a {@link DataModelPath} rooted at {@link id}.
 */
export declare function DataModelPath(id: string | number, type?: string): DataModelPath;
export declare namespace DataModelPath {
    const none: DataModelPath;
}
//# sourceMappingURL=DataModelPath.d.ts.map