import type { Chain, Hex, PublicClient, Transport } from 'viem'; import type { MessagePassedEvent } from '../../../index.js'; import { type RawOrContractAddress } from '../../../types/addresses.js'; export type ReadProvenWithdrawalsParameters = { withdrawalHash: MessagePassedEvent['withdrawalHash']; portal: RawOrContractAddress<_chainId>; }; export type ProvenWithdrawal = { outputRoot: Hex; timestamp: bigint; l2OutputIndex: bigint; }; export type ReadProvenWithdrawalsReturnType = ProvenWithdrawal; /** * Reads a proven withdrawal from the Optimism Portal. * * @param {Hash} withdrawalHash the hash of the withdrawal * @param {RawOrContractAddress} portal the address of the portal * * @returns {Promise} the proven withdrawal */ export declare function readProvenWithdrawals(client: PublicClient, { withdrawalHash, portal, }: ReadProvenWithdrawalsParameters): Promise; //# sourceMappingURL=readProvenWithdrawals.d.ts.map