/** * CountDownLatchStrategy - Implements distributed countdown latch with consensus. */ import { ILockToolkit, CountDownLatchOptions, CountDownResult, CountDownLatchStatus } from "../core/types"; import { CountDownLatch } from "../primitives/countdown-latch"; import { PubSubManager } from "../pubsub/pubsub-manager"; export declare class CountDownLatchStrategy { private readonly toolkit; private readonly pubSubManager; private readonly keyPrefix; constructor(toolkit: ILockToolkit, pubSubManager: PubSubManager | null, keyPrefix: string); create(name: string, options: CountDownLatchOptions): Promise; countDown(latch: CountDownLatch, eventId?: string): Promise; getStatus(name: string): Promise; awaitLatch(latch: CountDownLatch, timeoutMs?: number): Promise; } //# sourceMappingURL=countdown-latch-strategy.d.ts.map