declare function toHex(bytes: Uint8Array): string; declare function fromHex(hexString: string): Uint8Array; declare function mapObject(input: Record, mapper: (i: I, k: K) => O): Record; type StringRecord = { [Sym: symbol]: never; [Num: number]: never; [Str: string]: T; }; declare const mapStringRecord: (input: StringRecord, mapper: (value: I, key: string) => O) => StringRecord; declare function filterObject(input: Record, filterFn: (i: I, k: K) => boolean): Record; interface MergeUint8 { /** * @deprecated This overload will be removed in PAPI v2. Migrate as * follows: * mergeUint8(arr1, arr2) => mergeUint8([arr1, arr2]) */ (...inputs: Array): Uint8Array; (inputs: Array): Uint8Array; } declare const mergeUint8: MergeUint8; declare const noop: () => void; declare class AbortError extends Error { constructor(); } declare const jsonPrint: (value: any, indent?: number) => string; export { AbortError, filterObject, fromHex, jsonPrint, mapObject, mapStringRecord, mergeUint8, noop, toHex };