UNPKG

1.18 kBTypeScriptView Raw
1import Taro from '@tarojs/api';
2declare const setStorageSync: typeof Taro.setStorageSync;
3declare const setStorage: typeof Taro.setStorage;
4declare const revokeBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
5declare const removeStorageSync: typeof Taro.removeStorageSync;
6declare const removeStorage: typeof Taro.removeStorage;
7declare const getStorageSync: typeof Taro.getStorageSync;
8declare const getStorageInfoSync: typeof Taro.getStorageInfoSync;
9declare const getStorageInfo: typeof Taro.getStorageInfo;
10declare const getStorage: typeof Taro.getStorage;
11declare const createBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
12declare const clearStorageSync: typeof Taro.clearStorageSync;
13declare const clearStorage: typeof Taro.clearStorage;
14export { setStorageSync, setStorage, revokeBufferURL, removeStorageSync, removeStorage, getStorageSync, getStorageInfoSync, getStorageInfo, getStorage, createBufferURL, clearStorageSync, clearStorage };
15export * from "./background-fetch.js";