import type { Chain, PublicClient, Transport } from 'viem'; import type { MessagePassedEvent } from '../../../index.js'; import { type RawOrContractAddress } from '../../../types/addresses.js'; export type ReadFinalizedWithdrawalsParameters = { withdrawalHash: MessagePassedEvent['withdrawalHash']; portal: RawOrContractAddress<_chainId>; }; /** * Reads whether a withdrawal has been finalized from the Optimism Portal. * * @param {Hash} withdrawalHash the hash of the withdrawal * @param {RawOrContractAddress} portal the address of the portal * * @returns {Promise} whether the withdrawal is finalized */ export declare function readFinalizedWithdrawals(client: PublicClient, { withdrawalHash, portal, }: ReadFinalizedWithdrawalsParameters): Promise; //# sourceMappingURL=readFinalizedWithdrawals.d.ts.map