import type { UserOperationReceipt } from "../types/index.js"; import type { Hex } from "viem"; import type { AltoConfig } from "../createConfig.js"; export interface ReceiptCache { get(userOpHash: Hex): Promise; cache(receipts: UserOperationReceipt[]): Promise; } export { createMemoryReceiptCache } from "./createMemoryReceiptCache.js"; export { createRedisReceiptCache } from "./createRedisReceiptCache.js"; export declare function createReceiptCache(config: AltoConfig, ttl: number): ReceiptCache; //# sourceMappingURL=index.d.ts.map