import type { StorageInterface } from '@cloudbase/adapter-interface'; export declare const wxMpStorage: StorageInterface; declare class CommonStorge { readonly localStorage: any; constructor(config?: { localStorage: any; }); /** * Get Item * @param {string} key * @return {Promise} */ getItem(key: string): Promise; /** * Remove Item. * @param {string} key * @return {Promise} */ removeItem(key: string): Promise; /** * Set Item. * @param {string} key * @param {string} value * @return {Promise} */ setItem(key: string, value: string): Promise; getItemSync(key: string): string | null; setItemSync(key: string, value: string): void; removeItemSync(key: string): void; /** * 获取缓存内所有 key */ getKeysSync(): string[]; } export declare const commonLocalStorage: CommonStorge; /** * 判断是否为小程序runtime */ export declare function isMatch(): boolean; export {};