import type { GetCatalogOptions, ProductCreate, ProductUpdate, SocketConfig, WAMediaUpload, } from "../Types/index.js"; import type { UpdateBusinessProfileProps, UpdateBussinesProfileProps, } from "../Types/Bussines.js"; import { type BinaryNode } from "../WABinary/index.js"; export declare const makeBusinessSocket: (config: SocketConfig) => { logger: import("../Utils/logger.js").ILogger; getOrderDetails: ( orderId: string, tokenBase64: string, ) => Promise; getCatalog: ({ jid, limit, cursor }: GetCatalogOptions) => Promise<{ products: import("../index.js").Product[]; nextPageCursor: string | undefined; }>; getCollections: ( jid?: string, limit?: number, ) => Promise<{ collections: import("../index.js").CatalogCollection[]; }>; productCreate: ( create: ProductCreate, ) => Promise; productDelete: (productIds: string[]) => Promise<{ deleted: number; }>; productUpdate: ( productId: string, update: ProductUpdate, ) => Promise; updateBusinessProfile: (args: UpdateBusinessProfileProps) => Promise; updateBussinesProfile: (args: UpdateBussinesProfileProps) => Promise; updateCoverPhoto: (photo: WAMediaUpload) => Promise; removeCoverPhoto: (id: string) => Promise; sendMessageAck: (node: BinaryNode, errorCode?: number) => Promise; sendRetryRequest: ( node: BinaryNode, forceIncludeKeys?: boolean, ) => Promise; rejectCall: (callId: string, callFrom: string) => Promise; fetchMessageHistory: ( count: number, oldestMsgKey: import("../index.js").WAMessageKey, oldestMsgTimestamp: number | import("long").default, ) => Promise; requestPlaceholderResend: ( messageKey: import("../index.js").WAMessageKey, msgData?: Partial, ) => Promise; messageRetryManager: import("../index.js").MessageRetryManager | null; getPrivacyTokens: (jids: string[]) => Promise; assertSessions: (jids: string[], force?: boolean) => Promise; relayMessage: ( jid: string, message: import("../index.js").proto.IMessage, { messageId: msgId, participant, additionalAttributes, additionalNodes, useUserDevicesCache, useCachedGroupMetadata, statusJidList, }: import("../index.js").MessageRelayOptions, ) => Promise; sendReceipt: ( jid: string, participant: string | undefined, messageIds: string[], type: import("../index.js").MessageReceiptType, ) => Promise; sendReceipts: ( keys: import("../index.js").WAMessageKey[], type: import("../index.js").MessageReceiptType, ) => Promise; ourin: import("./dugong.js").Dugong; readMessages: (keys: import("../index.js").WAMessageKey[]) => Promise; refreshMediaConn: ( forceGet?: boolean, ) => Promise; waUploadToServer: import("../index.js").WAMediaUploadFunction; fetchPrivacySettings: (force?: boolean) => Promise<{ [_: string]: string; }>; sendPeerDataOperationMessage: ( pdoMessage: import("../index.js").proto.Message.IPeerDataOperationRequestMessage, ) => Promise; createParticipantNodes: ( recipientJids: string[], message: import("../index.js").proto.IMessage, extraAttrs?: BinaryNode["attrs"], dsmMessage?: import("../index.js").proto.IMessage, ) => Promise<{ nodes: BinaryNode[]; shouldIncludeDeviceIdentity: boolean; }>; getUSyncDevices: ( jids: string[], useCache: boolean, ignoreZeroDevices: boolean, ) => Promise< (import("../index.js").JidWithDevice & { jid: string; })[] >; updateMemberLabel: (jid: string, memberLabel: string) => Promise; updateMediaMessage: ( message: import("../index.js").WAMessage, ) => Promise; sendStatusMention: ( content: any, jids?: string[], ) => Promise; sendTable: ( jid: string, title: string, headers: string[], rows: string[][], quoted?: any, options?: import("../index.js").RichMessageOptions, ) => Promise<{ message: any; messageId: string; }>; sendList: ( jid: string, title: string, items: (string | string[])[], quoted?: any, options?: import("../index.js").RichMessageOptions, ) => Promise<{ message: any; messageId: string; }>; sendCodeBlock: ( jid: string, code: string, quoted?: any, options?: import("../index.js").CodeBlockOptions, ) => Promise<{ message: any; messageId: string; }>; sendLatex: ( jid: string, quoted: any, options: import("../index.js").LatexOptions, ) => Promise<{ message: any; messageId: string; }>; sendLatexImage: ( jid: string, quoted: any, options: import("../index.js").LatexImageOptions, renderLatexToPng: import("../index.js").LatexRenderFn, uploadFn: import("../index.js").MediaUploadFn, ) => Promise<{ message: any; messageId: string; }>; sendLatexInlineImage: ( jid: string, quoted: any, options: import("../index.js").LatexImageOptions, renderLatexToPng: import("../index.js").LatexRenderFn, uploadFn: import("../index.js").MediaUploadFn, ) => Promise<{ message: any; messageId: string; }>; captureUnifiedResponse: ( msg: import("../index.js").proto.IMessage, ) => import("../index.js").CapturedUnifiedResponse | null; sendUnifiedResponse: ( jid: string, quoted: any, captured: import("../index.js").CapturedUnifiedResponse, ) => Promise<{ message: any; messageId: string; }>; sendRichMessage: ( jid: string, submessages: import("../index.js").proto.IAIRichResponseSubMessage[], quoted?: any, options?: {}, ) => Promise<{ message: any; messageId: string; }>; sendMessage: ( jid: string, content: import("../index.js").AnyMessageContent, options?: import("../index.js").MiscMessageGenerationOptions, ) => Promise; newsletterFetchAllSubscribe: () => Promise; newsletterMultipleFollow: (jids: string) => Promise; newsletterAction: (jid: string, type: string) => Promise; cekIDSaluran: (url: string) => Promise<{ id: any; state: any; creation_time: number; name: any; description: any; invite: any; picture: string; preview: string; subscribers: number; verification: any; viewer_metadata: any; }>; newsletterCreate: ( name: string, description?: string, ) => Promise; newsletterUpdate: ( jid: string, updates: import("../index.js").NewsletterUpdate, ) => Promise; newsletterSubscribers: (jid: string) => Promise<{ subscribers: number; }>; newsletterMetadata: ( type: "invite" | "jid", key: string, ) => Promise; newsletterFollow: (jid: string) => Promise; newsletterUnfollow: (jid: string) => Promise; newsletterMute: (jid: string) => Promise; newsletterUnmute: (jid: string) => Promise; newsletterUpdateName: (jid: string, name: string) => Promise; newsletterUpdateDescription: ( jid: string, description: string, ) => Promise; newsletterUpdatePicture: ( jid: string, content: WAMediaUpload, ) => Promise; newsletterRemovePicture: (jid: string) => Promise; newsletterReactMessage: ( jid: string, serverId: string, reaction?: string, ) => Promise; newsletterFetchMessages: ( jid: string, count: number, since: number, after: number, ) => Promise; subscribeNewsletterUpdates: (jid: string) => Promise<{ duration: string; } | null>; newsletterAdminCount: (jid: string) => Promise; newsletterChangeOwner: (jid: string, newOwnerJid: string) => Promise; newsletterDemote: (jid: string, userJid: string) => Promise; newsletterDelete: (jid: string) => Promise; groupMetadata: (jid: string) => Promise; groupCreate: ( subject: string, participants: string[], ) => Promise; groupLeave: (id: string) => Promise; groupUpdateSubject: (jid: string, subject: string) => Promise; groupRequestParticipantsList: (jid: string) => Promise< { [key: string]: string; }[] >; groupRequestParticipantsUpdate: ( jid: string, participants: string[], action: "approve" | "reject", ) => Promise< { status: string; jid: string | undefined; }[] >; groupParticipantsUpdate: ( jid: string, participants: string[], action: import("../index.js").ParticipantAction, ) => Promise< { status: string; jid: string | undefined; content: BinaryNode; }[] >; groupUpdateDescription: (jid: string, description?: string) => Promise; groupInviteCode: (jid: string) => Promise; groupRevokeInvite: (jid: string) => Promise; groupAcceptInvite: (code: string) => Promise; groupRevokeInviteV4: ( groupJid: string, invitedJid: string, ) => Promise; groupAcceptInviteV4: ( key: string | import("../index.js").WAMessageKey, inviteMessage: import("../index.js").proto.Message.IGroupInviteMessage, ) => Promise; groupGetInviteInfo: ( code: string, ) => Promise; groupToggleEphemeral: ( jid: string, ephemeralExpiration: number, ) => Promise; groupSettingUpdate: ( jid: string, setting: "announcement" | "not_announcement" | "locked" | "unlocked", ) => Promise; groupMemberAddMode: ( jid: string, mode: "admin_add" | "all_member_add", ) => Promise; groupJoinApprovalMode: (jid: string, mode: "on" | "off") => Promise; groupFetchAllParticipating: () => Promise<{ [_: string]: import("../index.js").GroupMetadata; }>; createCallLink: ( type: "audio" | "video", event?: { startTime: number; }, timeoutMs?: number, ) => Promise; getBotListV2: () => Promise; messageMutex: { mutex(code: () => Promise | T): Promise; }; receiptMutex: { mutex(code: () => Promise | T): Promise; }; appStatePatchMutex: { mutex(code: () => Promise | T): Promise; }; notificationMutex: { mutex(code: () => Promise | T): Promise; }; upsertMessage: ( msg: import("../index.js").WAMessage, type: import("../index.js").MessageUpsertType, ) => Promise; appPatch: (patchCreate: import("../index.js").WAPatchCreate) => Promise; sendPresenceUpdate: ( type: import("../index.js").WAPresence, toJid?: string, ) => Promise; presenceSubscribe: (toJid: string) => Promise; profilePictureUrl: ( jid: string, type?: "preview" | "image", timeoutMs?: number, ) => Promise; fetchBlocklist: () => Promise<(string | undefined)[]>; fetchStatus: ( ...jids: string[] ) => Promise; fetchDisappearingDuration: ( ...jids: string[] ) => Promise; updateProfilePicture: ( jid: string, content: WAMediaUpload, dimensions?: { width: number; height: number; }, ) => Promise; removeProfilePicture: (jid: string) => Promise; updateProfileStatus: (status: string) => Promise; updateProfileName: (name: string) => Promise; updateBlockStatus: ( jid: string, action: "block" | "unblock", ) => Promise; updateDisableLinkPreviewsPrivacy: ( isPreviewsDisabled: boolean, ) => Promise; updateCallPrivacy: ( value: import("../index.js").WAPrivacyCallValue, ) => Promise; updateMessagesPrivacy: ( value: import("../index.js").WAPrivacyMessagesValue, ) => Promise; updateLastSeenPrivacy: ( value: import("../index.js").WAPrivacyValue, ) => Promise; updateOnlinePrivacy: ( value: import("../index.js").WAPrivacyOnlineValue, ) => Promise; updateProfilePicturePrivacy: ( value: import("../index.js").WAPrivacyValue, ) => Promise; updateStatusPrivacy: ( value: import("../index.js").WAPrivacyValue, ) => Promise; updateReadReceiptsPrivacy: ( value: import("../index.js").WAReadReceiptsValue, ) => Promise; updateGroupsAddPrivacy: ( value: import("../index.js").WAPrivacyGroupAddValue, ) => Promise; updateDefaultDisappearingMode: (duration: number) => Promise; getBusinessProfile: ( jid: string, ) => Promise; resyncAppState: ( collections: readonly ( | "critical_unblock_low" | "regular_high" | "regular_low" | "critical_block" | "regular" )[], isInitialSync: boolean, ) => Promise; chatModify: ( mod: import("../index.js").ChatModification, jid: string, ) => Promise; cleanDirtyBits: ( type: "account_sync" | "groups", fromTimestamp?: number | string, ) => Promise; addOrEditContact: ( jid: string, contact: import("../index.js").proto.SyncActionValue.IContactAction, ) => Promise; removeContact: (jid: string) => Promise; addLabel: ( jid: string, labels: import("../Types/Label.js").LabelActionBody, ) => Promise; addChatLabel: (jid: string, labelId: string) => Promise; removeChatLabel: (jid: string, labelId: string) => Promise; addMessageLabel: ( jid: string, messageId: string, labelId: string, ) => Promise; removeMessageLabel: ( jid: string, messageId: string, labelId: string, ) => Promise; star: ( jid: string, messages: { id: string; fromMe?: boolean; }[], star: boolean, ) => Promise; addOrEditQuickReply: ( quickReply: import("../Types/Bussines.js").QuickReplyAction, ) => Promise; removeQuickReply: (timestamp: string) => Promise; type: "md"; ws: import("./Client/index.js").WebSocketClient; ev: import("../index.js").BaileysEventEmitter & { process( handler: ( events: Partial, ) => void | Promise, ): () => void; buffer(): void; createBufferedFunction( work: (...args: A) => Promise, ): (...args: A) => Promise; flush(): boolean; isBuffering(): boolean; }; authState: { creds: import("../index.js").AuthenticationCreds; keys: import("../index.js").SignalKeyStoreWithTransaction; }; signalRepository: import("../index.js").SignalRepositoryWithLIDStore; user: import("../index.js").Contact | undefined; generateMessageTag: () => string; query: (node: BinaryNode, timeoutMs?: number) => Promise; waitForMessage: ( msgId: string, timeoutMs?: number | undefined, ) => Promise; waitForSocketOpen: () => Promise; sendRawMessage: (data: Uint8Array | Buffer) => Promise; sendNode: (frame: BinaryNode) => Promise; logout: (msg?: string) => Promise; end: (error: Error | undefined) => Promise; onUnexpectedError: ( err: Error | import("@hapi/boom").Boom, msg: string, ) => void; uploadPreKeys: (count?: number, retryCount?: number) => Promise; uploadPreKeysToServerIfRequired: () => Promise; digestKeyBundle: () => Promise; rotateSignedPreKey: () => Promise; requestPairingCode: ( phoneNumber: string, customPairingCode?: string, ) => Promise; updateServerTimeOffset: ({ attrs }: BinaryNode) => void; sendUnifiedSession: () => Promise; wamBuffer: import("../index.js").BinaryInfo; waitForConnectionUpdate: ( check: ( u: Partial, ) => Promise, timeoutMs?: number, ) => Promise; sendWAMBuffer: (wamBuffer: Buffer) => Promise; executeUSyncQuery: ( usyncQuery: import("../index.js").USyncQuery, ) => Promise; onWhatsApp: (...phoneNumber: string[]) => Promise< | { jid: string; exists: boolean; }[] | undefined >; }; //# sourceMappingURL=business.d.ts.map