import { SessionRepository } from "../../domain/session/session.repository"; import { Level } from "../../domain/whatsapp/whatsapp.types"; export type BrowserName = "Chrome" | "Firefox" | "Safari" | "Edge"; export interface AdvancedWhatsappInterface { onAuthRequired: (code: string) => Promise; onFail: (err: string) => Promise; onFatalFail: (err: string) => Promise; onSuccess: () => Promise; onRestartRequired: () => Promise; } export interface BasicWhatsappInterface { sessionId: string; phoneNumber: string; log: Level; isPairCode: boolean; timeReconnect: number; } export interface WhatsappInterface { basic: BasicWhatsappInterface; advanced: AdvancedWhatsappInterface; prisma: SessionRepository; } //# sourceMappingURL=whatsapp.interface.d.ts.map