import { BigNumber, ethers } from 'ethers'; import { SynFuturesV3 } from '../synfuturesV3Core'; import { Amm, Pearl, ContractRecord, AccountState, GateState } from '../types'; interface Logger { info(...args: any[]): void; error(...args: any[]): void; } interface Shader { bgGreenBright(...args: any[]): string; red(...args: any[]): string; cyan(...args: any[]): string; green(...args: any[]): string; } export interface ComparatorOptions { logger: Logger; shader: Shader; overrides: ethers.CallOverrides; getBlockTimestamp: (blockNumber: number) => Promise; } export declare class Comparator { private sdk; private logger; private shader; private overrides; private getBlockTimestamp; constructor(sdk: SynFuturesV3, options?: Partial); compareBalance(quote: string, accounts: string[], accounts2balance: Map): Promise; compareFundFlow(quote: string, accounts: string[], gate: GateState): Promise; comparePending(quote: string, accounts: string[], gate: GateState): Promise; comparePendingDuration(pendingDuration: BigNumber): Promise; compareThreshold(quote: string, threshold: BigNumber): Promise; compareBlacklist(accounts: string[], gate: GateState): Promise; compareAccounts(instrument: string, expiry: number, accounts: string[], accountsMap: Map): Promise; compareAmm(instrument: string, expiry: number, localAmm: Amm): Promise; comparePearlsAndBitMap(instrument: string, expiry: number, tBitMapFromLocal: Map, pearlsMapFromLocal: Map): Promise; compareRecords(instrument: string, expiry: number, records: Map>): Promise; getRecordsFromObserver(instrument: string, expiry: number, records: Map>): Promise>>; getTBitMapFromObserver(instrument: string, expiry: number): Promise>; getPearlsFromObserver(instrument: string, expiry: number, tBitMap: Map, referalKeys: number[]): Promise>; getAccountFromObserver(instrument: string, expiry: number, account: string): Promise; getAmmFromObserver(instrument: string, expiry: number): Promise; getBalanceFromVault(token: string, account: string): Promise; getPbits(pbitmap: BigNumber): number[]; toMap(indexs: Array, entities: Array): Map; fillZero(ori: Array): Array; compareObj(fromContract: any, fromLocal: any): boolean; } export {};