import type { IBaseClientConfig } from '..'; import type { TYPE_AMOUNT } from '../types'; import type { Web3SideChainClient } from '../utils'; interface IBridgeEventInfo { originNetwork: number; originTokenAddress: string; destinationNetwork: number; destinationAddress: string; amount: TYPE_AMOUNT; metadata: string; depositCount: number; } interface IClaimPayload { smtProof: string[]; smtProofRollup: string[]; globalIndex: string; mainnetExitRoot: string; rollupExitRoot: string; originNetwork: number; originTokenAddress: string; destinationNetwork: number; destinationAddress: string; amount: TYPE_AMOUNT; metadata: string; } export declare class BridgeUtil { private client_; private BRIDGE_TOPIC; constructor(client: Web3SideChainClient); private decodedBridgeData_; private getBridgeLogData_; private getProof_; getBridgeLogData(transactionHash: string, isParent: boolean): Promise; computeGlobalIndex(indexLocal: number, indexRollup: number, sourceNetworkId: number): bigint; buildPayloadForClaim(transactionHash: string, isParent: boolean, networkId: number): Promise; } export {};