import { Wechaty, WechatyOptions, ScanStatus, Contact, Message } from 'wechaty'; import { AppserviceManager } from './appservice-manager'; import { MiddleManager } from './middle-manager'; import { Manager } from './manager'; export declare class WechatyManager extends Manager { protected matrixWechatyDict: Map; protected wechatyMatrixDict: WeakMap; protected selfWechaty: Wechaty | undefined; appserviceManager: AppserviceManager; middleManager: MiddleManager; constructor(); teamManager(managers: { appserviceManager: AppserviceManager; middleManager: MiddleManager; }): void; count(): number; create(matrixConsumerId: string, wechatyOptions?: WechatyOptions): Wechaty; destroy(matrixConsumerId: string): Promise; destroy(wechaty: Wechaty): Promise; matrixConsumerId(ofWechaty: Wechaty): string; wechaty(ofMatrixConsumerId: string): null | Wechaty; filehelperOf(matrixConsumerId: string): Promise; filehelperOf(wechaty: Wechaty): Promise; /**************************************************************************** * Protected Methods * ****************************************************************************/ protected onScan(qrcode: string, status: ScanStatus, wechaty: Wechaty): Promise; protected onLogin(wechatyContact: Contact): Promise; protected onLogout(wechatyContact: Contact): Promise; protected onMessage(message: Message): Promise; processUserMessage(onWechatyMessage: Message): Promise; processRoomMessage(onWechatyMessage: Message): Promise; ifSelfWechaty(wechatyId: string): boolean; } //# sourceMappingURL=wechaty-manager.d.ts.map