export declare function getPortLazy(): Promise; /** * Resets the per-process port cache. Intended for tests; not used on the hot * path. Callers must let any in-flight lookup settle (await the pending * `getPortLazy()` call) before resetting: clearing `_inFlight` here does not * cancel an already-scheduled resolution, so a late `.then` could otherwise * repopulate `_cachedPort` after the reset and bleed into the next test. */ export declare function resetPortCacheForTesting(): void; /** * Installs a fake port resolver and clears the cache. Test-only seam used to * exercise the caching contract deterministically without touching the OS. */ export declare function setPortResolverForTesting(fn: () => Promise): void; //# sourceMappingURL=get-port-lazy.d.ts.map