import { BalanceChanges, Token } from '../types'; import { SuiTransactionBlockResponse } from '@mysten/sui/jsonRpc'; export declare function cancelBubble(e: any): void; export declare const addressAbridge: (address: string | undefined, addressAbridgeStyle?: string) => string; export declare const objIsEqual: (obj1: any, obj2: any) => boolean; export declare function checkNullObj(obj: object): boolean; export declare function checkIsCoinType(value: string): boolean; export declare const sleepTime: (s: number) => Promise; export declare function parseOwnerBalanceChanges(response: SuiTransactionBlockResponse, owner?: string, includedFee?: boolean): Record; export declare function getBalanceChanges(balanceChanges: Record, coinInfo?: Token): string | undefined; export declare function getCdnAssets(path: string): string; /** * Preload image to browser cache * This function uses browser's native caching mechanism, all images using the same URL will be read from cache * @param src Image URL * @returns Promise Returns whether image loaded successfully */ export declare function preloadImage(src: string): Promise; export declare const textEllipses: (text: string, decimals?: number) => string; export declare const coinTypeEquals: (tokenA?: string, tokenB?: string) => boolean; export declare const isAvailableObject: (obj: unknown) => boolean; export declare function normalizeCoinType(coin_type: string): string; export declare function adjustTo100(arr: number[]): number[]; export declare function toLongCoinType(coinType: string): string;