export function bufferToU8a(buffer: Buffer): Uint8Array; export function ensureByte(num: any): number; export function ensureBytes(bytes: Uint8Array | Iterable): Uint8Array; export function ensureUint8Array(bytes: any): Uint8Array; export function hexToU8a(str: string): Uint8Array; export function isByte(num: any): boolean; export function isBytes(bytes: Uint8Array | Iterable): boolean; export function isHex(value: any): boolean; export function isHexWithGivenByteSize(value: string, byteSize?: number): boolean; export function normalizeOrConvertStringToU8a(bytesOrString: Uint8Array | string): Uint8Array; export function normalizeToHex(data: Uint8Array | string): string; export function normalizeToU8a(bytes: string | Uint8Array | Array): Uint8Array; export function randomAsHex(length: number): string; export function randomAsU8a(length: number): Uint8Array; export function stringToBuffer(str: string): Buffer; export function stringToHex(str: string): string; export function stringToU8a(str: string): Uint8Array; export function u8aToHex(bytes: Iterable): string; export function u8aToString(bytes: Iterable): string; export function u8aToU8a(bytes: Iterable): Uint8Array; export function valueBytes(value: any): Uint8Array; export function valueNumberOrBytes(value: any): Uint8Array;