export type NonceReplayVerifier = (keyId: string, nonce: string, ttlMs: number) => Promise<boolean>;
export type MemoryNonceReplayOptions = {
    /**
     * Cleanup interval to prevent unbounded map growth.
     * Default: 500 accepted nonces.
     */
    cleanupEvery?: number;
    /**
     * Maximum nonce entries to keep before forcing a cleanup sweep.
     * Default: 25_000.
     */
    maxEntries?: number;
};
export declare const NonceReplay: Readonly<{
    /**
     * In-memory, best-effort replay protection.
     *
     * Works in both Node and Workers, but does not provide cross-instance guarantees.
     * For strict production replay protection, supply your own verifier backed by Redis/KV.
     */
    createMemoryVerifier(options?: MemoryNonceReplayOptions): NonceReplayVerifier;
}>;
export default NonceReplay;
//# sourceMappingURL=NonceReplay.d.ts.map