import EventEmitter from 'eventemitter3'; import { ShareInfoProps, NewsShareType, WeixinShareType } from '../config/types'; declare class NewsAppShare extends EventEmitter { isReady: boolean; os: { android: boolean; ios: boolean; }; TencentNews: any; constructor(); ready(): Promise; setShareInfo(options: ShareInfoProps): Promise; show(): Promise; share(type: WeixinShareType | NewsShareType, callback?: () => void): void; shareToApp(type: WeixinShareType | NewsShareType): Promise; showBigImageShareMenu(imgurl: string): Promise; setActionBtn(type: 0 | 1 | 2): Promise; forbidShare(): Promise; } export default NewsAppShare;