import type { Address } from "abitype"; import type { HexData32, UserOpInfo, UserOperation } from "../types/schemas.js"; import type { ConflictingOutstandingType } from "./outstanding/index.js"; export type ConflictType = "conflicting_nonce" | "conflicting_deployment" | "conflicting_7702_auth"; export type StoreType = "outstanding" | "processing"; export type ValidationResult = { valid: true; } | { valid: false; reason: string; }; export type EntryPointUserOpInfoParam = { entryPoint: Address; userOpInfo: UserOpInfo; }; export type EntryPointUserOpInfosParam = { entryPoint: Address; userOpInfos: UserOpInfo[]; }; export type EntryPointUserOpHashParam = { entryPoint: Address; userOpHash: HexData32; }; export type MempoolStore = { popOutstanding: (entryPoint: Address, count: number) => Promise; addOutstanding: (args: EntryPointUserOpInfosParam) => Promise; removeOutstanding: (args: EntryPointUserOpHashParam) => Promise; dumpOutstanding: (entryPoint: Address) => Promise; addProcessing: (args: EntryPointUserOpInfosParam) => Promise; removeProcessing: (args: EntryPointUserOpInfosParam) => Promise; checkDuplicatesAndConflicts: (args: { entryPoint: Address; userOp: UserOperation; userOpHash: HexData32; }) => Promise; popConflictingOustanding: (args: { entryPoint: Address; userOp: UserOperation; }) => Promise; validateSenderLimits: (args: { entryPoint: Address; userOp: UserOperation; }) => Promise; getQueuedOutstandingUserOps: (args: { userOp: UserOperation; entryPoint: Address; }) => Promise; clearOutstanding: (entryPoint: Address) => Promise; flushProcessing: (entryPoint: Address) => Promise; clearAllProcessing: (entryPoint: Address) => Promise; }; //# sourceMappingURL=types.d.ts.map