/**
 * Creates a one-at-a-time queue for session work.
 *
 * Overlapping collect/run flows would otherwise interleave their global
 * test-registry save/restore (see `withRegistry`) and corrupt
 * `__HST_TEST_REGISTRY__`. The preview runtime creates a single session object,
 * so one chain per session is enough to guard the shared globalThis.
 * @returns A `runExclusive(fn)` function resolving/rejecting with `fn`'s result.
 */
export declare function createExclusiveQueue(): <T>(fn: () => Promise<T>) => Promise<T>;
//# sourceMappingURL=exclusive.d.ts.map