export function makeMessagesRecvSocket(config: any): { sendMessageAck: (node: any, errorCode: any) => Promise; sendRetryRequest: (node: any, forceIncludeKeys?: boolean) => Promise; rejectCall: (callId: any, callFrom: any) => Promise; fetchMessageHistory: (count: any, oldestMsgKey: any, oldestMsgTimestamp: any) => Promise; requestPlaceholderResend: (messageKey: any, msgData: any) => Promise; messageRetryManager: import("../Utils/message-retry-manager.js").MessageRetryManager | null; userDevicesCache: any; devicesMutex: { mutex(code: any): any; }; issuePrivacyTokens: (jids: any, timestamp: any) => Promise; assertSessions: (jids: any, force: any) => Promise; relayMessage: (jid: any, message: any, { messageId: msgId, participant, additionalAttributes, additionalNodes, useUserDevicesCache, useCachedGroupMetadata, addBizAttributes, statusJidList }: { messageId: any; participant: any; additionalAttributes: any; additionalNodes: any; useUserDevicesCache: any; useCachedGroupMetadata: any; addBizAttributes: any; statusJidList: any; }) => Promise; sendReceipt: (jid: any, participant: any, messageIds: any, type: any) => Promise; sendReceipts: (keys: any, type: any) => Promise; readMessages: (keys: any) => Promise; refreshMediaConn: (forceGet?: boolean) => Promise; getMediaHost: () => string; waUploadToServer: (filePath: any, { mediaType, fileEncSha256B64, timeoutMs, newsletter }: { mediaType: any; fileEncSha256B64: any; timeoutMs: any; newsletter: any; }) => Promise<{ mediaUrl: any; directPath: any; meta_hmac: any; fbid: any; ts: any; thumbnailDirectPath: any; thumbnailSha256: any; }>; fetchPrivacySettings: (force?: boolean) => Promise; sendPeerDataOperationMessage: (pdoMessage: any) => Promise; createParticipantNodes: (recipientJids: any, message: any, extraAttrs: any, dsmMessage: any) => Promise<{ nodes: any[]; shouldIncludeDeviceIdentity: boolean; }>; getUSyncDevices: (jids: any, useCache: any, ignoreZeroDevices: any) => Promise; updateMemberLabel: (jid: any, memberLabel: any) => Promise; updateMediaMessage: (message: any) => Promise; sendMessage: (jid: any, content: any, options?: {}) => Promise; executeWMexQuery: (variables: any, queryId: any, dataPath: any) => Promise; newsletterCreate: (name: any, description: any) => Promise<{ id: any; owner: undefined; name: any; creation_time: number; description: any; invite: any; subscribers: number; verification: any; picture: { id: any; directPath: any; }; mute_state: any; }>; newsletterUpdate: (jid: any, updates: any) => Promise; newsletterSubscribers: (jid: any) => Promise; newsletterSubscribed: () => Promise; newsletterMetadata: (type: any, key: any) => Promise; newsletterFollow: (jid: any) => Promise; newsletterUnfollow: (jid: any) => Promise; newsletterMute: (jid: any) => Promise; newsletterUnmute: (jid: any) => Promise; newsletterUpdateName: (jid: any, name: any) => Promise; newsletterUpdateDescription: (jid: any, description: any) => Promise; newsletterUpdatePicture: (jid: any, content: any) => Promise; newsletterRemovePicture: (jid: any) => Promise; newsletterReactMessage: (jid: any, serverId: any, reaction: any) => Promise; newsletterFetchMessages: (type: any, key: any, count: any, after: any, before: any) => Promise<{ [k: string]: any; }[]>; subscribeNewsletterUpdates: (jid: any) => Promise<{ duration: any; } | null>; newsletterAdminCount: (jid: any) => Promise; newsletterChangeOwner: (jid: any, newOwnerJid: any) => Promise; newsletterDemote: (jid: any, userJid: any) => Promise; newsletterDelete: (jid: any) => Promise; groupQuery: (jid: any, type: any, content: any) => Promise; groupMetadata: (jid: any) => Promise<{ id: any; notify: any; addressingMode: any; subject: any; subjectOwner: any; subjectOwnerPn: any; subjectOwnerUsername: any; subjectTime: number; size: any; creation: number; owner: string | undefined; ownerPn: string | undefined; ownerUsername: any; owner_country_code: any; desc: any; descId: any; descOwner: string | undefined; descOwnerPn: string | undefined; descOwnerUsername: any; descTime: number | undefined; linkedParent: any; restrict: boolean; announce: boolean; isCommunity: boolean; isCommunityAnnounce: boolean; joinApprovalMode: boolean; memberAddMode: boolean; participants: any; ephemeralDuration: number | undefined; }>; groupCreate: (subject: any, participants: any) => Promise<{ id: any; notify: any; addressingMode: any; subject: any; subjectOwner: any; subjectOwnerPn: any; subjectOwnerUsername: any; subjectTime: number; size: any; creation: number; owner: string | undefined; ownerPn: string | undefined; ownerUsername: any; owner_country_code: any; desc: any; descId: any; descOwner: string | undefined; descOwnerPn: string | undefined; descOwnerUsername: any; descTime: number | undefined; linkedParent: any; restrict: boolean; announce: boolean; isCommunity: boolean; isCommunityAnnounce: boolean; joinApprovalMode: boolean; memberAddMode: boolean; participants: any; ephemeralDuration: number | undefined; }>; groupLeave: (id: any) => Promise; groupUpdateSubject: (jid: any, subject: any) => Promise; groupRequestParticipantsList: (jid: any) => Promise; groupRequestParticipantsUpdate: (jid: any, participants: any, action: any) => Promise; groupParticipantsUpdate: (jid: any, participants: any, action: any) => Promise; groupUpdateDescription: (jid: any, description: any) => Promise; groupInviteCode: (jid: any) => Promise; groupRevokeInvite: (jid: any) => Promise; groupAcceptInvite: (code: any) => Promise; groupRevokeInviteV4: (groupJid: any, invitedJid: any) => Promise; groupAcceptInviteV4: (...args: any[]) => Promise; groupGetInviteInfo: (code: any) => Promise<{ id: any; notify: any; addressingMode: any; subject: any; subjectOwner: any; subjectOwnerPn: any; subjectOwnerUsername: any; subjectTime: number; size: any; creation: number; owner: string | undefined; ownerPn: string | undefined; ownerUsername: any; owner_country_code: any; desc: any; descId: any; descOwner: string | undefined; descOwnerPn: string | undefined; descOwnerUsername: any; descTime: number | undefined; linkedParent: any; restrict: boolean; announce: boolean; isCommunity: boolean; isCommunityAnnounce: boolean; joinApprovalMode: boolean; memberAddMode: boolean; participants: any; ephemeralDuration: number | undefined; }>; groupToggleEphemeral: (jid: any, ephemeralExpiration: any) => Promise; groupSettingUpdate: (jid: any, setting: any) => Promise; groupMemberAddMode: (jid: any, mode: any) => Promise; groupJoinApprovalMode: (jid: any, mode: any) => Promise; groupFetchAllParticipating: () => Promise<{}>; findUserId: (pnLid: any) => Promise<{ lid: undefined; phoneNumber: undefined; }>; serverProps: { privacyTokenOn1to1: boolean; profilePicPrivacyToken: boolean; 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; }; 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; }; import { proto } from '../../WAProto/index.js'; //# sourceMappingURL=messages-recv.d.ts.map