import BigNumber from 'bignumber.js'; export type BalanceData = { [address: string]: string; }; /** * Record the loading status of the balance waiting to be updated after the chain is successfully uploaded * Insert token data into logBalance in metadata when uploading, within 5 minutes after successful uploading. If the newly passed in balance is consistent with the previously recorded balance, loading will be returned * After the balance is updated, or after 5 minutes, loading will return false. And delete the recorded metadata information to avoid calculating this data next time * The 5-minute time limit is to avoid operations on other terminals or other tabs, which will cause the balance comparison to be invalid and keep loading. */ export declare const useBalanceUpdateLoading: () => { balanceData: BalanceData; balanceDataDone: BalanceData; isTokenLoading: (address: string, balance: BigNumber | number | string) => boolean; isTokenLoadingDone: (address: string, balance: BigNumber | number | string) => boolean; };