/** * Represents an unclaimed withdrawal. */ export type Withdrawal = { hash: string; replay_tx_hash: string; refund_tx_hash: string; message_hash: string; token_type: number; token_ids: any[]; token_amounts: string[]; message_type: number; l1_token_address: string; l2_token_address: string; block_number: number; tx_status: number; counterpart_chain_tx: CounterpartChainTx; claim_info: ClaimInfo | null; block_timestamp: number; batch_deposit_fee: string; }; export interface ClaimInfo { from: string; to: string; value: string; nonce: string; message: string; proof: Proof; claimable: boolean; } export interface Proof { batch_index: string; merkle_proof: string; } export interface CounterpartChainTx { hash: string; block_number: number; } /** * Retrieves unclaimed withdrawals for a given address. * * @param address - The address to check for unclaimed withdrawals. * @param apiUri - The URI of the API to query for unclaimed withdrawals. * @returns A promise that resolves to an array of UnclaimedWithdrawal objects. * @throws An error if the API request fails or returns an error. */ export declare function getWithdrawals(address: string, apiUri: string): Promise;