import WhatsAppBase from '../whatsapp-base.js'; import type { WhatsAppContact, BatteryInfo, WAStateType } from '../../schema/whatsapp-type.js'; export default class LoginEventHandler extends WhatsAppBase { protected loadingData: boolean; private qrcodeOrLoginCheckTimer?; private hasLogin; private lastQRCodeTime; onQRCode(qrcode: string): void; private checkQRCodeOrLoginEvent; clearQrcodeOrLoginCheckTimer(): void; onAuthenticated(): Promise; onAuthFailure(message: string): Promise; onWhatsAppReady(): Promise; onLogin(): Promise; onReady(contactOrRoomList: WhatsAppContact[]): Promise; onLogout(reason?: string): Promise; onChangeState(state: WAStateType): Promise; /** * unsupported events * leave logs to for further dev */ onChangeBattery(batteryInfo: BatteryInfo): Promise; } //# sourceMappingURL=login-event-handler.d.ts.map