import { IStorage, IBridgeOptions } from './interface'; /** * 保存本地数据 * * @param {IBridgeOptions} { * key, * value, * scope, * domain, * multi_param, * success, * fail, * complete * } */ declare function setStorageSync({ key, value, scope, domain, multi_param, success, fail, complete }: IBridgeOptions): void; /** * 保存本地数据 * 一个异步接口,支持 Promise 化使用 * @param {IBridgeOptions} { key, value, scope, domain, multi_param } * @returns */ declare function setStorage({ key, value, scope, domain, multi_param }: IBridgeOptions): Promise; export { setStorage, setStorageSync };