import { WASocket } from "@whiskeysockets/baileys"; import type { MessageReceived, StartSessionParams } from "../Types"; export declare const startSession: (sessionId?: string, options?: StartSessionParams) => Promise; /** * @deprecated Use startSession method instead */ export declare const startWhatsapp: (sessionId?: string, options?: StartSessionParams) => Promise; export declare const deleteSession: (sessionId: string) => Promise; export declare const getAllSession: () => string[]; export declare const getSession: (key: string) => WASocket | undefined; export declare const loadSessionsFromStorage: () => void; export declare const onMessageReceived: (listener: (msg: MessageReceived) => any) => void; export declare const onQRUpdated: (listener: ({ sessionId, qr }: { sessionId: string; qr: string; }) => any) => void; export declare const onConnected: (listener: (sessionId: string) => any) => void; export declare const onDisconnected: (listener: (sessionId: string) => any) => void; export declare const onConnecting: (listener: (sessionId: string) => any) => void; export declare const onGroupParticipantsUpdated: (listener: (id: string, participants: string[], action: string) => any) => void; //# sourceMappingURL=index.d.ts.map