import { type RpcTransactionReceipt } from 'viem'; import { type RpcUserOperationReceipt } from 'viem/account-abstraction'; import { z } from 'zod'; export declare const hexDataSchema: z.ZodPipe>; export declare const hexData32Schema: z.ZodPipe>; export declare const evmAddressSchema: z.ZodPipe>; export declare const evmTokenSchema: z.ZodObject<{ address: z.ZodPipe>; decimals: z.ZodNumber; }, z.core.$strip>; export type EvmToken = z.infer; /** * Base schema for all status responses */ export declare const baseStatusSchema: z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; }, z.core.$strip>; /** * Receipt schema that handles both transaction and user operation receipts * Transforms RPC receipts to formatted versions * Used by WebSocket layer and generic endpoints */ export declare const receiptSchema: z.ZodPipe, z.ZodTransform>; /** * Relayer-specific receipt schema that only accepts transaction receipts * Used by relayer endpoints to enforce TransactionReceipt type */ export declare const transactionReceiptSchema: z.ZodPipe, z.ZodTransform>; export declare enum StatusCode { Pending = 100, Submitted = 110, Success = 200, Rejected = 400, Reverted = 500 } export declare const pendingStatusSchema: z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; id: z.ZodString; status: z.ZodLiteral; }, z.core.$strip>; export declare const submittedStatusSchema: z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; hash: z.ZodPipe>; id: z.ZodString; status: z.ZodLiteral; }, z.core.$strip>; export declare const successStatusSchema: z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; id: z.ZodString; receipt: z.ZodPipe, z.ZodTransform>; status: z.ZodLiteral; }, z.core.$strip>; export declare const rejectedStatusSchema: z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; data: z.ZodOptional; id: z.ZodString; message: z.ZodString; status: z.ZodLiteral; }, z.core.$strip>; export declare const revertedStatusSchema: z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; data: z.ZodString; id: z.ZodString; message: z.ZodOptional; receipt: z.ZodPipe, z.ZodTransform>; status: z.ZodLiteral; }, z.core.$strip>; export declare const statusSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; id: z.ZodString; status: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; hash: z.ZodPipe>; id: z.ZodString; status: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; id: z.ZodString; receipt: z.ZodPipe, z.ZodTransform>; status: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; data: z.ZodOptional; id: z.ZodString; message: z.ZodString; status: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; data: z.ZodString; id: z.ZodString; message: z.ZodOptional; receipt: z.ZodPipe, z.ZodTransform>; status: z.ZodLiteral; }, z.core.$strip>], "status">; export declare const terminalStatusSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; id: z.ZodString; receipt: z.ZodPipe, z.ZodTransform>; status: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; data: z.ZodOptional; id: z.ZodString; message: z.ZodString; status: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ chainId: z.ZodCoercedNumber; createdAt: z.ZodNumber; data: z.ZodString; id: z.ZodString; message: z.ZodOptional; receipt: z.ZodPipe, z.ZodTransform>; status: z.ZodLiteral; }, z.core.$strip>], "status">; export type TerminalStatus = z.infer; export type Status = z.infer; //# sourceMappingURL=schema.d.ts.map