import { ec as EC, SignatureInput } from 'elliptic'; import * as node from '../api/api-alephium'; import * as explorer from '../api/api-explorer'; export declare function convertHttpResponse(response: node.HttpResponse | explorer.HttpResponse): T; export declare function signatureEncode(signature: EC.Signature): string; export declare const signatureDecode: (ec: EC, signature: string) => SignatureInput; export declare function isHexString(input: string): boolean; export declare const groupOfAddress: (address: string) => number; export declare function contractIdFromAddress(address: string): Uint8Array; export declare function tokenIdFromAddress(address: string): Uint8Array; export declare function hexToBinUnsafe(hex: string): Uint8Array; export declare function binToHex(bin: Uint8Array): string; export declare function publicKeyFromPrivateKey(privateKey: string): string; export declare function addressFromPublicKey(publicKey: string): string; export declare function addressFromContractId(contractId: string): string; export declare function contractIdFromTx(txId: string, outputIndex: number): string; export declare function subContractId(parentContractId: string, pathInHex: string): string; export declare function stringToHex(str: string): string; declare type _Eq = (() => T extends X ? 1 : 2) extends () => T extends Y ? 1 : 2 ? true : false; export declare type Eq = _Eq<{ [P in keyof X]: X[P]; }, { [P in keyof Y]: Y[P]; }>; export declare function assertType(): void; export {};