import { ChainId } from '@dodoex/api';
import { TokenInfo } from '../hooks/Token';
export declare const isSameAddress: (tokenAddress1: string, tokenAddress2: string) => boolean;
export declare function isAddress(value: any): boolean;
export declare function isETHAddress(addr: string): boolean;
/**
 * Returns true if the string value is zero in hex
 * @param hexNumberString
 */
export default function isZero(hexNumberString: string): boolean;
/**
 * truncate pool address: 0xeBa959390016dd81419A189e5ef6F3B6720e5A90 => 0xeBa9...5A90
 * @param address pool address
 */
export declare function truncatePoolAddress(address: string): string;
export declare function sortsAddress(address0: string, address1: string): boolean;
export declare function getEtherscanPage(chainId: ChainId, id?: string | null, prefix?: string): string;
export declare function openEtherscanPage(path: string | undefined, chainId: ChainId, customUrl?: string): Promise<void>;
/**
 * UniswapV2Router02
 * contracts > v2-periphery-contracts > contracts > libraries > UniswapV2Library.sol -> pairFor
 * @param chainId
 * @returns
 * @see https://test-explorer.plumenetwork.xyz/address/0x3A7Bc5F9E41356728f037f17D88c642EE46d1Aaa?tab=contract
 */
export declare const getUniInitCodeHash: (chainId: number) => "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f" | "0x007722521498f3d29a63d1eb6ab35e202874706c77ce73d45c1ad9da88174a3f" | "0x67a372377cf6d7f78cfdcc9df0bc21e1139bd49e5a47c33ee0de5389a4396410" | "0x2ebf1082215ab683deab4ee8ff50d42205db2059829b641717ab3f61f18d481a";
export declare function sortsBefore(tokenA: TokenInfo, tokenB: TokenInfo): boolean;
export declare const computePairAddress: ({ factoryAddress, tokenA, tokenB, fee, }: {
    factoryAddress: string;
    tokenA: TokenInfo;
    tokenB: TokenInfo;
    fee: number;
}) => string;
