import { ShareInfoProps, WeixinShareType, NewsShareType } from './lib/config/types'; declare class Share { instance: any; app: { name: string; version: string; }; constructor(options?: ShareInfoProps); on(fn: string, callback: (argv?: any) => void): this; setShareInfo(options: ShareInfoProps): this; setShareInWx(options: ShareInfoProps, type?: WeixinShareType): this | undefined; setShareInQQ(options: ShareInfoProps): this | undefined; setShareInNews(options: ShareInfoProps): this | undefined; setShareInVideo(options: ShareInfoProps): this | undefined; share(type: WeixinShareType | NewsShareType): void; shareToApp(type: WeixinShareType | NewsShareType): void; showBigImageShareMenu(imgurl: string): void; show(): this; setActionBtn(type: 0 | 1 | 2): this; private createInstance; private __invoke; } export default Share;