/// import { AlgorandPublicKey, AlgorandSignature, AlgorandPrivateKey, AlgorandAddress } from '../models'; /** * ConcatArrays takes two array and returns a joint Uint8 array of both */ export declare function concatUint8Arrays(a: any, b: any): Uint8Array; /** Return sha512 hash of an array */ export declare function genericHash(arr: Uint8Array): number[]; export declare function isValidAlgorandPublicKey(value: string | AlgorandPublicKey): value is AlgorandPublicKey; export declare function isValidAlgorandPrivateKey(value: string): value is AlgorandPrivateKey; export declare function isValidAlgorandSignature(signature: string): boolean; /** Accepts hex string checks if a valid algorand private key * Returns AlgorandPrivatekey */ export declare function toAlgorandPrivateKey(value: string): AlgorandPrivateKey; /** Accepts hex string checks if a valid algorand public key * Returns AlgorandPublicKey */ export declare function toAlgorandPublicKey(value: string): AlgorandPublicKey; export declare function toAlgorandSignature(value: string): AlgorandSignature; /** Computes algorand address from the algorand public key */ export declare function toAddressFromPublicKey(publicKey: AlgorandPublicKey): AlgorandAddress; /** Computes algorand public key from the algorand address */ export declare function toPublicKeyFromAddress(address: AlgorandAddress): AlgorandPublicKey; export declare function toAlgorandSignatureFromRawSig(rawSignature: Buffer | Uint8Array): AlgorandSignature; export declare function toRawSignatureFromAlgoSig(signature: AlgorandSignature): Uint8Array; /** Throws if signatures isn't properly formatted */ export declare function assertValidSignatures(signatures: AlgorandSignature[]): void;