import { UserOperationStruct } from '../contracts/account-abstraction/contracts/core/BaseAccount'; export declare const AddressZero = "0x0000000000000000000000000000000000000000"; export type NotPromise = { [P in keyof T]: Exclude>; }; export declare function packUserOp(op: NotPromise, forSignature?: boolean): string; export declare function getUserOpHash(op: NotPromise, entryPoint: string, chainId: number): string; interface DecodedError { message: string; opIndex?: number; } export declare function decodeErrorReason(error: string): DecodedError | undefined; export declare function rethrowError(e: any): any; export declare function deepHexlify(obj: any): any; export declare function resolveHexlify(a: any): any; export {};