import { FencingToken } from './fencing-token.ts'; import type { TokenSource } from './token-source.ts'; /** The monotonic clock that a token source reads: `process` in production. */ export interface MonotonicClock { hrtime: { bigint(): bigint; }; } /** * Reads the process-wide monotonic clock, which every worker thread shares, so * grants serialized by a lock read strictly later times without shared memory. * Tokens restart when the process does. */ export declare class MonotonicClockTokenSource implements TokenSource { #private; constructor({ clock }: { clock: MonotonicClock; }); next(_key: string): Promise; } //# sourceMappingURL=monotonic-clock-token-source.d.ts.map