import { BigInteger } from "../../big-int"; /** * Helper methods for bigints. */ export declare class BigIntHelper { /** * Load 3 bytes from array as bigint. * @param data The input array. * @param byteOffset The start index to read from. * @returns The bigint. */ static read3(data: Uint8Array, byteOffset: number): BigInteger; /** * Load 4 bytes from array as bigint. * @param data The input array. * @param byteOffset The start index to read from. * @returns The bigint. */ static read4(data: Uint8Array, byteOffset: number): BigInteger; /** * Load 8 bytes from array as bigint. * @param data The data to read from. * @param byteOffset The start index to read from. * @returns The bigint. */ static read8(data: Uint8Array, byteOffset: number): BigInteger; /** * Load 32 bytes (256 bits) from array as bigint. * @param data The data to read from. * @param byteOffset The start index to read from. * @returns The bigint. */ static read32(data: Uint8Array, byteOffset: number): BigInteger; /** * Convert a big int to bytes. * @param value The bigint. * @param data The buffer to write into. * @param byteOffset The start index to write from. */ static write8(value: BigInteger, data: Uint8Array, byteOffset: number): void; /** * Convert a big int 32 bytes (256 bits) to bytes. * @param value The bigint. * @param data The buffer to write into. * @param byteOffset The start index to write from. */ static write32(value: BigInteger, data: Uint8Array, byteOffset: number): void; /** * Generate a random bigint. * @param length The length of the bigint to generate. * @returns The bigint. */ static random(length?: number): BigInteger; }