import { WASocket } from '@whiskeysockets/baileys'; import type { ServerState } from './types.js'; /** * Initialize Baileys socket with auth state */ export declare function initializeSocket(authDir: string, withAntiban: boolean, state: ServerState): Promise; /** * Get cached messages for a JID */ export declare function getCachedMessages(state: ServerState, jid: string, limit?: number): { key: { remoteJid: string; fromMe: boolean; id: string; }; fromMe: boolean; timestamp: any; text: string | null; type: string; }[]; //# sourceMappingURL=socket.d.ts.map