import { Token } from '../entities/Token';
import { NearAccountState } from '../types/responseTypes';
/**
 * Validates an address and returns the parsed (checksummed) version of that address
 * @param address the unchecksummed hex address
 */
export declare function validateAndParseAddressByChainId(address: string, chainId: string): string;
/**
 * Near account rules
 * minimum length is 2
 * maximum length is 64
 * Account ID consists of Account ID parts separated by .
 * Account ID part consists of lowercase alphanumeric symbols separated by either _ or -.
 * Account ID that is 64 characters long and consists of lowercase hex characters is a specific implicit account ID.
 * @param accountId
 * @param chainId
 */
export declare function verifyNearAccountId(accountId: string, chainId: string): Promise<NearAccountState>;
export declare function validateToken(token: Token): string;
/**
 * convert hex format address to decimal array
 * @param address
 * @param chainId
 */
export declare function hexToDecimalArray(address: string, chainId: string): number[];
export declare function getHexAddress(address: string, chainId: string, isAddress: boolean): string;
/**
 * @param input
 * @param isAddress
 */
export declare function asciiToHex(input: string, isAddress: boolean): string;
export declare function asciiToString(input: number[]): string;
