import { CID } from 'multiformats'; import { oObject } from '../core/o-object.js'; import { oTransport } from '../transports/o-transport.js'; export declare class oAddress extends oObject { readonly value: string; transports: oTransport[]; constructor(value: string, transports?: oTransport[]); get libp2pTransports(): oTransport[]; get customTransports(): oTransport[]; equals(other: oAddress): boolean; transportsEqual(other: oAddress): boolean; setTransports(transports: oTransport[]): void; validate(): boolean; /** * Check if this address contains a nested path * @returns true if address contains '/' in the path portion (e.g., 'o://parent/child') */ isNested(): boolean; /** * Validates that this address is not nested (for constructor validation) * @throws Error if address contains nested paths */ validateNotNested(): void; get paths(): string; get protocol(): string; get root(): string; toStaticAddress(): oAddress; toRootAddress(): oAddress; toString(): string; toJSON(): { value: string; transports: string[]; }; supportsTransport(transport: oTransport): boolean; toCID(): Promise; hash(): Promise; static equals(a: oAddress, b: oAddress): boolean; static leader(): oAddress; static lane(): oAddress; static registry(): oAddress; static isStatic(address: oAddress): boolean; static next(address: oAddress, targetAddress: oAddress): oAddress; } //# sourceMappingURL=o-address.d.ts.map