import { IBridgeOptions } from './interface'; interface IShareSocial { /** * 分享的标题 */ shareTitle: string; /** * 分享的内容 */ shareContent: string; /** * 分享的 url */ shareUrl: string; } /** * 第三方社交分享 * * @param {IBridgeOptions} { * shareTitle = '', * shareContent = '', * shareUrl = '', * success, * fail, * complete * } */ declare function shareSocialThirdPartySync({ shareTitle, shareContent, shareUrl, success, fail, complete }: IBridgeOptions): void; /** * 第三方社交分享 * 一个异步接口,支持 Promise 化使用 * @param {IBridgeOptions} { * shareTitle = '', * shareContent = '', * shareUrl = '' * } * @returns */ declare function shareSocialThirdParty({ shareTitle, shareContent, shareUrl }: IBridgeOptions): Promise; export { shareSocialThirdParty, shareSocialThirdPartySync };