/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { AppAddress } from "@matter/general"; /** * A logical path in the API. */ export declare class ApiPath { #private; /** * Create a new path from: * * * An {@link AppAddress#pathname} * * A text path, delimited with "/" with URL encoded segments * * An array of decoded segments * * Ignores path segments that are empty or ".". ".." resolves up one level. * * So generally normal UNIX/URL semantics. */ constructor(path: AppAddress | string | string[]); get isEmpty(): boolean; [Symbol.iterator](): ArrayIterator; slice(start?: number, end?: number): ApiPath; at(path: AppAddress | string | string[]): ApiPath; toString(): string; includes(other: ApiPath): boolean; subpathFor(other: ApiPath): ApiPath | undefined; } //# sourceMappingURL=ApiPath.d.ts.map