import type { ErrorType } from '../errors/utils.js'; import type { Chain, ExtractChainFormatterType } from '../types/chain.js'; import type { RpcTransactionReceipt, TransactionReceipt } from '../types/transactionReceipt.js'; import type { ExactPartial } from '../types/utils.js'; import { type DefineFormatterErrorType } from './defineFormatter.js'; export type FormattedTransactionReceipt = ExtractChainFormatterType; export declare const receiptStatus: { readonly '0x0': "reverted"; readonly '0x1': "success"; }; export declare const rpcReceiptStatus: { readonly reverted: "0x0"; readonly success: "0x1"; }; export type FromRpcTransactionReceiptErrorType = ErrorType; export declare function fromRpcTransactionReceipt(transactionReceipt: ExactPartial): TransactionReceipt; export type ToRpcTransactionReceiptErrorType = ErrorType; export declare function toRpcTransactionReceipt(transactionReceipt: TransactionReceipt): RpcTransactionReceipt; export type DefineTransactionReceiptErrorType = DefineFormatterErrorType | ErrorType; export declare const defineTransactionReceipt: (overrides: { fromRpc: (parameters: rpcType, baseFn: typeof fromRpcTransactionReceipt) => type; toRpc: (parameters: type, baseFn: typeof toRpcTransactionReceipt) => rpcType; }) => import("./defineFormatter.js").Formatter; //# sourceMappingURL=transactionReceipt.d.ts.map