export declare const encodeString: (str: string) => Uint8Array;
export declare const decodeString: (u8arr: Uint8Array) => string;
export declare const getRandomValues: () => Promise<number>;
export declare const uuidNum: (len?: number, radix?: number) => Promise<string>;
export declare function encryptStores(originString: string, secret: string): string;
export declare function decryptStores(ciphertext: string, secret: string): string;
export declare function setLocalStorage(env: number, key: string, data: any): void;
export declare function getLocalStorage(env: number, key: string): any;
export declare function getHttp3ServerStorage(storageKey: string, env: number, appID: number): {
    [sever: string]: {
        status: boolean;
        time: number;
    };
} | null;
export declare function setHttp3ServerStatus(storageKey: string, env: number, appID: number, data: {
    [sever: string]: {
        status: boolean;
        time: number;
    };
}, isMerge?: boolean): void;
export declare function getServerType(server?: string): 3 | 1;
