export type PendingReplayFinalization = "cancelled" | "consumed"; export interface PendingConversationReservation { readonly conversationId: string; readonly token: symbol; } export declare const MAX_PENDING_REPLAY_CONVERSATIONS = 4096; export declare class PendingReplayLedger { #private; constructor(limit?: number); get size(): number; reserve(conversationId: string, now?: number): PendingConversationReservation; release(reservation: PendingConversationReservation): void; recordPending(reservation: PendingConversationReservation, fingerprint: string, expiresAt: number): void; recordFinalization(conversationId: string, fingerprint: string, kind: PendingReplayFinalization): void; recordFailure(conversationId: string, fingerprint: string, cause: unknown): void; assertUsable(conversationId: string, fingerprint: string, now?: number): void; assertCompletedReplayCanContinue(conversationId: string, now?: number): void; beforeCancellation(conversationId: string, fingerprint: string, now?: number): boolean; isFinalized(conversationId: string, fingerprint: string, now?: number): boolean; clear(): void; } //# sourceMappingURL=pending-replay-ledger.d.ts.map