/** * Deterministic node id: `relative/posix/path#symbol`. * relFile must already be repo-relative. Symbol omitted -> file-level node id. */ export declare function makeNodeId(relFile: string, symbol?: string): string; /** Normalize an OS path to forward-slash POSIX form for stable ids across platforms. */ export declare function toPosix(p: string): string; /** Repo-relative POSIX path for an absolute file under repoRoot. */ export declare function relPosix(repoRoot: string, absFile: string): string; /** * Synthetic id for an HTTP target, e.g. "http:POST /api/capture". * When host is set (absolute URL), appends "|hostname" for external-host checks. */ export declare function httpTargetId(method: string, urlPath: string, host?: string | null): string; /** Parse optional host suffix from an http target id. */ export declare function parseHttpTargetHost(id: string): string | null; /** Cross-repo namespaced id: `::`. */ export declare function makeCrossRepoId(repo: string, nodeId: string): string; /** Split a cross-repo id into [repo, nodeId]. */ export declare function splitCrossRepoId(id: string): [string, string];