import { RootChain } from "./root_chain"; import { Web3SideChainClient } from "../utils"; import { IBaseClientConfig } from ".."; interface IChainBlockInfo { lastChildBlock: string; txBlockNumber: number; } export declare class ExitUtil { private shibariumClient_; rootChain: RootChain; requestConcurrency: number; config: IBaseClientConfig; constructor(client: Web3SideChainClient, rootChain: RootChain); private getLogIndex_; private getAllLogIndices_; getChainBlockInfo(burnTxHash: string): Promise; private isCheckPointed_; isCheckPointed(burnTxHash: string): Promise; /** * returns info about block number existance on parent chain * 1. root block number, * 2. start block number, * 3. end block number * * @private * @param {number} txBlockNumber - transaction block number on child chain * @return {*} * @memberof ExitUtil */ private getRootBlockInfo; private getRootBlockInfoFromAPI; private getBlockProof; private getBlockProofFromAPI; buildPayloadForExit(burnTxHash: string, logEventSig: string, isFast: boolean, index?: number): Promise; buildMultiplePayloadsForExit(burnTxHash: string, logEventSig: string, isFast: boolean): Promise; private encodePayload_; getExitHash(burnTxHash: any, index: any, logEventSig: any): Promise; } export {};