import { HexString } from './interfaces'; export declare const unprefixedHexToBytes: (inp: string) => Uint8Array; export declare const bytesToHex: (bytes: Uint8Array) => string; export declare const bytesToBigInt: (bytes: Uint8Array, littleEndian?: boolean) => bigint; export declare const bytesToInt: (bytes: Uint8Array) => number; export declare const hexToBytes: (hex: string) => Uint8Array; export declare const intToHex: (i: number) => HexString; export declare const intToBytes: (i: number) => Uint8Array; export declare const bigIntToBytes: (num: bigint, littleEndian?: boolean) => Uint8Array; export declare const zeros: (bytes: number) => Uint8Array; export declare const setLengthLeft: (msg: Uint8Array, length: number) => Uint8Array; export declare const setLengthRight: (msg: Uint8Array, length: number) => Uint8Array; export declare const unpadBytes: (a: Uint8Array) => Uint8Array; export declare const unpadArray: (a: number[]) => number[]; export declare type ToBytesInputTypes = HexString | number | bigint | Uint8Array | number[] | TransformabletoBytes | null | undefined; export interface TransformabletoBytes { toBytes?(): Uint8Array; } export declare const toBytes: (v: ToBytesInputTypes) => Uint8Array; export declare function toBytes32(v: ToBytesInputTypes): Uint8Array; export declare const fromSigned: (num: Uint8Array) => bigint; export declare const toUnsigned: (num: bigint) => Uint8Array; export declare const addHexPrefix: (str: string) => HexString; export declare const short: (bytes: Uint8Array | string, maxLength?: number) => string; export declare const validateNoLeadingZeroes: (values: { [key: string]: Uint8Array | undefined; }) => void; export declare const bigIntToHex: (num: bigint) => HexString; export declare const bigIntToUnpaddedBytes: (value: bigint) => Uint8Array; export declare const intToUnpaddedBytes: (value: number) => Uint8Array; export declare const compareBytes: (value1: Uint8Array, value2: Uint8Array) => number; export declare const randomBytes: (length: number) => Uint8Array; export declare const concatBytes: (...arrays: Uint8Array[]) => Uint8Array; export declare function bytesToInt32(bytes: Uint8Array, littleEndian?: boolean): number; export declare function bytesToBigInt64(bytes: Uint8Array, littleEndian?: boolean): bigint; export declare function int32ToBytes(value: number, littleEndian?: boolean): Uint8Array; export declare function bigInt64ToBytes(value: bigint, littleEndian?: boolean): Uint8Array; export declare const assertIsHexString: (input: string) => void; export declare const assertIsBytes: (input: Uint8Array) => void; export declare const assertIsArray: (input: number[]) => void; export declare const assertIsString: (input: string) => void; export declare function isHexPrefixed(str: string): str is HexString; export declare const stripHexPrefix: (str: string) => string; export declare function padToEven(value: string): string; export declare function getBinarySize(str: string): number; export declare function arrayContainsArray(superset: unknown[], subset: unknown[], some?: boolean): boolean; export declare function toAscii(hex: string): string; export declare function fromUtf8(stringValue: string): string; export declare function fromAscii(stringValue: string): string; export declare function getKeys(params: Record[], key: string, allowEmpty?: boolean): string[]; export declare function isHexString(value: string, length?: number): boolean;