/// /// import { SocketConfig, WAPresence, ChatModification, WAMediaUpload } from "../Types"; import { BinaryNode } from "../WABinary"; export declare const makeChatsSocket: (config: SocketConfig) => { patchChat: (jid: string, modification: ChatModification) => Promise; sendPresenceUpdate: (type: WAPresence, toJid?: string) => Promise; presenceSubscribe: (toJid: string) => Promise; profilePictureUrl: (jid: string) => Promise; onWhatsApp: (...jids: string[]) => Promise<{ exists: boolean; jid: string; }[]>; fetchBlocklist: () => Promise; fetchPrivacySettings: () => Promise; fetchStatus: (jid: string) => Promise<{ status: string; setAt: Date; }>; updateProfilePicture: (jid: string, content: WAMediaUpload) => Promise; updateBlockStatus: (jid: string, action: 'block' | 'unblock') => Promise; ws: import("ws"); ev: import("../Types").BaileysEventEmitter; authState: import("../Types").AuthenticationState; user: import("../Types").Contact; assertingPreKeys: (range: number, execute: (keys: { [_: number]: any; }) => Promise) => Promise; generateMessageTag: () => string; query: (node: BinaryNode, timeoutMs?: number) => Promise; waitForMessage: (msgId: string, timeoutMs?: number) => Promise; waitForSocketOpen: () => Promise; sendRawMessage: (data: Uint8Array | Buffer) => Promise; sendNode: (node: BinaryNode) => Promise; logout: () => Promise; end: (error: Error) => void; };