import { SupportedEncodings } from 'uint8arrays/from-string'; export declare function hexToByteArray(hexString: string): Uint8Array; export declare function getChainId(chain: string): string; export declare function toHexString(byteArray: Uint8Array): string; export declare function concatUint8Arrays(buffer1: Uint8Array, buffer2: Uint8Array): Uint8Array; export declare function splitToUint8Arrays(array: Uint8Array, index: number): Uint8Array[]; export declare function base64encode(value: any, urlSafe: boolean): string; export declare function base64decode(value: string, urlSafe: boolean): { toString(): string; toObject(): any; toUint8Array(): Uint8Array; }; export declare function checkWSUrl(url: string): boolean; export declare const resolveWebSocketImplementation: () => { new (url: string | URL, protocols?: string | string[]): WebSocket; prototype: WebSocket; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; readonly CLOSED: 3; }; export declare const hasBuiltInWebSocket: () => boolean; export declare const hasLocalStorage: () => boolean; export declare const resolveLocalStorage: () => Storage; export declare const isBrowser: () => boolean; export declare const RANDOM_LENGTH = 32; export declare function hashKey(key: string, encode?: SupportedEncodings): string; export declare function generateRandomBytes32(): Uint8Array; export declare function generateTopic(): string; export declare function generateGroupId(): string; export declare const isValidObject: (obj: any) => number | false; export declare function isInIOSLine(): boolean; export declare function isInIOSLark(): boolean; export declare function isInIOSChrome(): boolean; export declare function isInIOSWeChat(): boolean; export declare function isIos(): boolean; export declare function getLastSixMd5Hash(input: string): string; export declare function toSafeBase64FromBase64(base64: string): string; export declare function useShortLink(): boolean; export declare const chainName2IdMap: Map; export declare const chainIdToStandardChainIdMap: Map; export declare function replaceChainNameToChainId(chainId: string): string; export declare function replaceChainIdToChainName(chainId: string): string; export declare function getNamespaceKeyByChain(chain: string): string | undefined; export declare function scopePollingDetectionStrategy(detect: () => boolean): void;