import { EIP1193Provider } from "../types"; /** * Waits for a transaction to be mined and returns the transaction receipt. * * @param {string} hash - The transaction hash. * @param {EIP1193Provider} provider - The EIP1193 compliant provider to interact with the blockchain. * @returns {Promise} A promise that resolves once the transaction receipt is obtained. */ export default function waitForTransaction(hash: string, provider: EIP1193Provider): Promise;