export declare const BLOCKSTACK_HANDLER = "blockstack"; export declare function nextYear(): Date; export declare function nextMonth(): Date; export declare function nextHour(): Date; export declare function megabytesToBytes(megabytes: number): number; export declare function getAesCbcOutputLength(inputByteLength: number): number; export declare function getBase64OutputLength(inputByteLength: number): number; export declare function updateQueryStringParameter(uri: string, key: string, value: string): string; export declare function isLaterVersion(v1: string, v2: string): boolean; export declare function makeUUID4(): string; export declare function isSameOriginAbsoluteUrl(uri1: string, uri2: string): boolean; export declare function getGlobalScope(): Window; interface GetGlobalObjectOptions { throwIfUnavailable?: boolean; usageDesc?: string; returnEmptyObject?: boolean; } export declare function getGlobalObject>(name: K, { throwIfUnavailable, usageDesc, returnEmptyObject }?: GetGlobalObjectOptions): Window[K] | undefined; export declare function getGlobalObjects>(names: K[], { throwIfUnavailable, usageDesc, returnEmptyObject }?: GetGlobalObjectOptions): Pick; declare type BN = import('bn.js'); export declare type IntegerType = number | string | bigint | Uint8Array | BN; export declare function intToBytes(value: IntegerType, signed: boolean, byteLength: number): Uint8Array; export declare function intToBigInt(value: IntegerType, signed: boolean): bigint; export declare function with0x(value: string): string; export declare function hexToBigInt(hex: string): bigint; export declare function intToHex(integer: IntegerType, lengthBytes?: number): string; export declare function hexToInt(hex: string): number; export declare function bigIntToBytes(value: bigint, length?: number): Uint8Array; export declare function toTwos(value: bigint, width: bigint): bigint; export declare function fromTwos(value: bigint, width: bigint): bigint; export declare function bytesToHex(uint8a: Uint8Array): string; export declare function hexToBytes(hex: string): Uint8Array; export declare function utf8ToBytes(str: string): Uint8Array; export declare function bytesToUtf8(arr: Uint8Array): string; export declare function asciiToBytes(str: string): Uint8Array; export declare function bytesToAscii(arr: Uint8Array): string; export declare function octetsToBytes(numbers: number[]): Uint8Array; export declare function toBytes(data: Uint8Array | string): Uint8Array; export declare function concatBytes(...arrays: Uint8Array[]): Uint8Array; export declare function concatArray(elements: (Uint8Array | number[] | number)[]): Uint8Array; export declare function isInstance(object: any, type: any): boolean; export {};