export type Plane = 'accepts' | 'emits'; export interface MatrixUri { scheme: 'matrix'; raw: string; /** Optional principal (user identity before @). */ principal?: string; /** Optional root. If absent, this is a local-only semantic address. */ root?: string; /** @deprecated Use root instead */ realm?: string; /** Mount segments (slash-delimited). */ mountSegments: string[]; /** Component path (dot-delimited). */ componentPath: string; plane: Plane; messageName: string; /** Derived canonical path: /.. */ toPath: string; /** Query parameters (not routing) */ query: Record; } /** * Parse a Matrix semantic URI. * * Accepts bare URIs (no scheme prefix): * * - Compact form: * //.. * .. (no root; local) * @//.. * * - Segmented MXURI/1: * //-/// * * Tab roots (leaf roots) are normalized: * /~tab//... => root = .tab. * * Query parameters: * /path.accepts.cmd?key=value * * Rejects URIs with non-matrix schemes (http://, ftp://, etc.). */ export declare function parseMatrixUri(uri: string): MatrixUri | null; //# sourceMappingURL=uri.d.ts.map