import type { ErrorType } from '../errors/utils.js'; import type { GetSerializedTransactionType } from '../utils/transaction/getSerializedTransactionType.js'; import { type ParseTransactionErrorType as ParseTransactionErrorType_, type ParseTransactionReturnType as ParseTransactionReturnType_ } from '../utils/transaction/parseTransaction.js'; import type { OpStackTransactionSerialized, OpStackTransactionType, TransactionSerializableDeposit, TransactionSerializedDeposit } from './types/transaction.js'; export type ParseTransactionReturnType> = serialized extends TransactionSerializedDeposit ? TransactionSerializableDeposit : ParseTransactionReturnType_; export type ParseTransactionErrorType = ParseTransactionErrorType_ | ErrorType; export declare function parseTransaction(serializedTransaction: serialized): ParseTransactionReturnType; //# sourceMappingURL=parsers.d.ts.map