export function makeGroupsSocket(config: any): { 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; /** * revoke a v4 invite for someone * @param groupJid group jid * @param invitedJid jid of person you invited * @returns true if successful */ groupRevokeInviteV4: (groupJid: any, invitedJid: any) => Promise; /** * accept a GroupInviteMessage * @param key the key of the invite message, or optionally only provide the jid of the person who sent the invite * @param inviteMessage the message to accept */ 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; }; 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; }; export function extractGroupMetadata(result: any): { 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; }; //# sourceMappingURL=groups.d.ts.map