import type { Config, Options } from '../types/interfaces/enft.interface.js'; import type { TransactionData } from '../types/models/transaction.model.js'; /** * * Parses the transaction with the specified hash and returns a * TransactionData object representing the transaction, * including NFT sales data. * * @async * @function * @param {string} transactionHash - The hash of the transaction to parse. * @param {Config} config - The configuration for the client. * @param {Options} options - The options for the client. * @throws {Error} Throw an error if no tokens are found in the transaction, or if the transaction hash or contract is invalid. * @returns {Promise} A promise that resolves with the TransactionData object if the transaction was successfully parsed, otherwise null. */ declare function parseTransaction(transactionHash: string, config: Config, options: Options): Promise; export { parseTransaction }; //# sourceMappingURL=parseTransaction.d.ts.map