export declare const DEFAULT_TTL_MS = 86400000; export declare const DEFAULT_CAP_PER_ENDPOINT = 1000; export interface ReceivedMessageCorrelationCacheOptions { ttlMs?: number; capPerEndpoint?: number; now?: () => number; } export type ReplyAwareResolve = { ok: true; } | { ok: false; reason: "unknown_correlation_id" | "wrong_endpoint" | "ttl_expired"; }; export interface ReceivedMessageCorrelationCache { record(endpoint_id: string, correlation_id: string): void; resolve(endpoint_id: string, correlation_id: string): ReplyAwareResolve; size(): number; sizeForEndpoint(endpoint_id: string): number; sweep(now?: number): number; forgetEndpoint(endpoint_id: string): void; } export declare function createReceivedMessageCorrelationCache(opts?: ReceivedMessageCorrelationCacheOptions): ReceivedMessageCorrelationCache; //# sourceMappingURL=received-message-correlation-cache.d.ts.map