/** * Deterministic sha256 over the `*.js` bytes in the given dist dirs, keyed by * each file's path relative to its dir. CONTENT, not mtime — a cache-replay that * rewrites mtimes but not bytes produces the same digest. Dirs and files are * sorted so the hash is independent of filesystem enumeration order. */ export declare function hashDistDirs(dirs: string[]): string; /** * The dist dirs this running server actually loaded: its own compiled dist plus * the `@traqr/memory` lib dist it imports (where the security-sensitive * retrieval/decryption code — the reason staleness is dangerous — lives). */ export declare function loadedDistDirs(): string[]; /** sha256 of the code this process loaded (own dist + @traqr/memory dist). */ export declare function computeLoadedFingerprint(): string; /** Per-pid marker path the detector reads. Kept deterministic so bash can find it. */ export declare function markerPathFor(pid: number): string; /** * Stamp this process's loaded-code fingerprint to a per-pid marker so the orient * freshness detector can compare LOADED vs CURRENT code by content. Best-effort: * never throws into the boot path (the marker is advisory; a missing marker just * makes the detector fall back to the old mtime heuristic). Opportunistically * prunes markers whose pid is dead so the dir doesn't accumulate. */ export declare function writeRuntimeMarker(): void; //# sourceMappingURL=fingerprint.d.ts.map