import { IBridgeOptions } from './interface'; /** * * * @interface IForwardPage */ interface IForwardPage { /** * 页面 id,原生提供 * * @type {string} * @memberof IForwardPage */ pageId: string; /** * 参数 * * @type {string} * @memberof IForwardPage */ param?: string; } /** * 根据 pageId 及 param 跳转指定的原生界面 * * @param {IBridgeOptions} { * pageId = '', * param = '', * success, * fail, * complete * } */ declare function forwardPageSync({ pageId, param, success, fail, complete }: IBridgeOptions): void; /** * 根据 pageId 及 param 跳转指定的原生界面 * 一个异步接口,支持 Promise 化使用 * * @param {IBridgeOptions} { pageId = '', param = '' } * @returns */ declare function forwardPage(options: IBridgeOptions): Promise; export { forwardPage, forwardPageSync };