/** Canonical, copyable connection link for one Infinicode mesh node. */ export declare const MESH_JOIN_PATH = "/fed/join"; export interface MeshJoinLink { /** Authenticated HTTP base URL consumed by Federation.connect(). */ seed: string; /** Shared mesh bearer token, when the target mesh is protected. */ token?: string; /** Original normalized link, suitable for MCP --connect. */ link: string; } /** Build a single shareable URL from a reachable mesh base URL. */ export declare function buildMeshJoinLink(baseUrl: string, token?: string): string; /** Parse and validate a canonical mesh URL without making a network request. */ export declare function parseMeshJoinLink(value: string): MeshJoinLink; /** Safe for terminals and logs while retaining enough information to identify the link. */ export declare function redactMeshJoinLink(value: string): string;