export function makeChatsSocket(config: any): { findUserId: (pnLid: any) => Promise<{ lid: undefined; phoneNumber: undefined; }>; serverProps: { /** AB prop 10518: gate tctoken on 1:1 messages. Default true (safe: avoids 463). */ privacyTokenOn1to1: boolean; /** AB prop 9666: gate tctoken on profile picture IQs. WA Web default: true. */ profilePicPrivacyToken: boolean; /** AB prop 14303: issue tctokens to LID instead of PN. WA Web default: false. */ lidTrustedTokenIssueToLid: boolean; }; createCallLink: (type: any, event: any, timeoutMs: any) => Promise; getBotListV2: () => Promise<{ jid: any; personaId: any; }[]>; messageMutex: { mutex(code: any): any; }; receiptMutex: { mutex(code: any): any; }; appStatePatchMutex: { mutex(code: any): any; }; notificationMutex: { mutex(code: any): any; }; fetchPrivacySettings: (force?: boolean) => Promise; upsertMessage: (...args: any[]) => Promise; appPatch: (patchCreate: any) => Promise; sendPresenceUpdate: (type: any, toJid: any) => Promise; presenceSubscribe: (toJid: any) => Promise; profilePictureUrl: (jid: any, type: string | undefined, timeoutMs: any) => Promise; fetchBlocklist: () => Promise; fetchStatus: (...jids: any[]) => Promise; fetchDisappearingDuration: (...jids: any[]) => Promise; updateProfilePicture: (jid: any, content: any, dimensions: any) => Promise; removeProfilePicture: (jid: any) => Promise; updateProfileStatus: (status: any) => Promise; updateProfileName: (name: any) => Promise; updateBlockStatus: (jid: any, action: any) => Promise; updateDisableLinkPreviewsPrivacy: (isPreviewsDisabled: any) => Promise; updateCallPrivacy: (value: any) => Promise; updateMessagesPrivacy: (value: any) => Promise; updateLastSeenPrivacy: (value: any) => Promise; updateOnlinePrivacy: (value: any) => Promise; updateProfilePicturePrivacy: (value: any) => Promise; updateStatusPrivacy: (value: any) => Promise; updateReadReceiptsPrivacy: (value: any) => Promise; updateGroupsAddPrivacy: (value: any) => Promise; updateDefaultDisappearingMode: (duration: any) => Promise; getBusinessProfile: (jid: any) => Promise<{ wid: any; address: any; description: any; website: any[]; email: any; category: any; business_hours: { timezone: any; business_config: any; }; } | undefined>; resyncAppState: (...args: any[]) => Promise; chatModify: (mod: any, jid: any) => Promise; cleanDirtyBits: (type: any, fromTimestamp: any) => Promise; addOrEditContact: (jid: any, contact: any) => Promise; removeContact: (jid: any) => Promise; placeholderResendCache: any; addLabel: (jid: any, labels: any) => Promise; addChatLabel: (jid: any, labelId: any) => Promise; removeChatLabel: (jid: any, labelId: any) => Promise; addMessageLabel: (jid: any, messageId: any, labelId: any) => Promise; removeMessageLabel: (jid: any, messageId: any, labelId: any) => Promise; star: (jid: any, messages: any, star: any) => Promise; addOrEditQuickReply: (quickReply: any) => Promise; removeQuickReply: (timestamp: any) => Promise; type: string; ws: import("./Client/websocket.js").WebSocketClient; ev: { process(handler: any): () => void; emit(event: any, evData: any): any; isBuffering(): boolean; buffer: () => void; flush: () => boolean; createBufferedFunction(work: any): (...args: any[]) => Promise; on: (...args: any[]) => any; off: (...args: any[]) => any; removeAllListeners: (...args: any[]) => any; destroy(): void; }; authState: { creds: any; keys: { get: (type: any, ids: any) => Promise; set: (data: any) => Promise; isInTransaction: () => boolean; transaction: (work: any, key: any) => Promise; }; }; signalRepository: any; user: any; generateMessageTag: () => string; query: (node: any, timeoutMs: any) => Promise; waitForMessage: (msgId: any, timeoutMs?: any) => Promise; waitForSocketOpen: () => Promise; sendRawMessage: (data: any) => Promise; sendNode: (frame: any) => Promise; logout: (msg: any) => Promise; end: (error: any) => Promise; registerSocketEndHandler: (handler: any) => void; onUnexpectedError: (err: any, msg: any) => void; uploadPreKeys: (count?: number) => Promise; uploadPreKeysToServerIfRequired: () => Promise; digestKeyBundle: () => Promise; rotateSignedPreKey: () => Promise; requestPairingCode: (phoneNumber: any, customPairingCode: any) => Promise; updateServerTimeOffset: ({ attrs }: { attrs: any; }) => void; sendUnifiedSession: () => Promise; wamBuffer: import("../index.js").BinaryInfo; waitForConnectionUpdate: (check: any, timeoutMs: any) => Promise; sendWAMBuffer: (wamBuffer: any) => Promise; executeUSyncQuery: (usyncQuery: any) => Promise; onWhatsApp: (...phoneNumber: any[]) => Promise; fetchAccountReachoutTimelock: () => Promise<{ isActive: boolean; timeEnforcementEnds: Date | undefined; enforcementType: any; }>; fetchNewChatMessageCap: () => Promise; }; //# sourceMappingURL=chats.d.ts.map