import type { Chain, PublicClient, Transport } from 'viem'; import type { MessagePassedEvent } from '../../../index.js'; import { type RawOrContractAddress } from '../../../types/addresses.js'; export type GetSecondsToFinalizableParameters = { withdrawalHash: MessagePassedEvent['withdrawalHash']; portal: RawOrContractAddress<_chainId>; l2OutputOracle: RawOrContractAddress<_chainId>; }; /** * Gets the number of seconds until a withdrawal is finalizable. * * @param {Hash} withdrawalHash the hash of the withdrawal * @param {RawOrContractAddress} portal the address of the portal * @param {RawOrContractAddress} l2OutputOracle the address of the L2 Output Oracle * * @returns {Promise} the number of seconds until the withdrawal is finalizable */ export declare function getSecondsToFinalizable(client: PublicClient, { withdrawalHash, l2OutputOracle, portal, }: GetSecondsToFinalizableParameters): Promise; //# sourceMappingURL=getSecondsToFinalizable.d.ts.map