///
///
import { SocketConfig } from '../Types';
declare const makeWASocket: (config: Partial) => {
getOrderDetails: (orderId: string, tokenBase64: string) => Promise;
getCatalog: (jid?: string, limit?: number) => Promise<{
products: import("../Types").Product[];
}>;
getCollections: (jid?: string, limit?: number) => Promise<{
collections: import("../Types").CatalogCollection[];
}>;
productCreate: (create: import("../Types").ProductCreate) => Promise;
productDelete: (productIds: string[]) => Promise<{
deleted: number;
}>;
productUpdate: (productId: string, update: import("../Types").ProductUpdate) => Promise;
processMessage: (message: import("../Types").WAProto.IWebMessageInfo, chatUpdate: Partial) => Promise;
sendMessageAck: ({ tag, attrs }: import("..").BinaryNode, extraAttrs: {
[key: string]: string;
}) => Promise;
sendRetryRequest: (node: import("..").BinaryNode) => Promise;
appPatch: (patchCreate: import("../Types").WAPatchCreate) => Promise;
sendPresenceUpdate: (type: import("../Types").WAPresence, toJid?: string) => Promise;
presenceSubscribe: (toJid: string) => Promise;
profilePictureUrl: (jid: string, type?: "image" | "preview", timeoutMs?: number) => Promise;
onWhatsApp: (...jids: string[]) => Promise<{
exists: boolean;
jid: string;
}[]>;
fetchBlocklist: () => Promise;
fetchStatus: (jid: string) => Promise<{
status: string;
setAt: Date;
}>;
updateProfilePicture: (jid: string, content: import("../Types").WAMediaUpload) => Promise;
updateBlockStatus: (jid: string, action: "block" | "unblock") => Promise;
getBusinessProfile: (jid: string) => Promise;
resyncAppState: (collections: import("../Types").WAPatchName[]) => Promise;
chatModify: (mod: import("../Types").ChatModification, jid: string) => Promise;
resyncMainAppState: () => Promise;
assertSessions: (jids: string[], force: boolean) => Promise;
relayMessage: (jid: string, message: import("../Types").WAProto.IMessage, { messageId: msgId, participant, additionalAttributes, cachedGroupMetadata }: import("../Types").MessageRelayOptions) => Promise;
sendReceipt: (jid: string, participant: string, messageIds: string[], type: "read" | "read-self") => Promise;
sendReadReceipt: (jid: string, participant: string, messageIds: string[]) => Promise;
refreshMediaConn: (forceGet?: boolean) => Promise;
waUploadToServer: import("../Types").WAMediaUploadFunction;
fetchPrivacySettings: (force?: boolean) => Promise<{
[_: string]: string;
}>;
sendMessage: (jid: string, content: import("../Types").AnyMessageContent, options?: import("../Types").MiscMessageGenerationOptions) => Promise;
groupMetadata: (jid: string) => Promise;
groupCreate: (subject: string, participants: string[]) => Promise;
groupLeave: (id: string) => Promise;
groupUpdateSubject: (jid: string, subject: string) => Promise;
groupParticipantsUpdate: (jid: string, participants: string[], action: import("../Types").ParticipantAction) => Promise;
groupUpdateDescription: (jid: string, description?: string) => Promise;
groupInviteCode: (jid: string) => Promise;
groupRevokeInvite: (jid: string) => Promise;
groupAcceptInvite: (code: string) => Promise;
groupAcceptInviteV4: (jid: string, inviteMessage: import("../Types").WAProto.IGroupInviteMessage) => Promise;
groupToggleEphemeral: (jid: string, ephemeralExpiration: number) => Promise;
groupSettingUpdate: (jid: string, setting: "announcement" | "locked" | "not_announcement" | "unlocked") => Promise;
groupFetchAllParticipating: () => Promise<{
[_: string]: import("../Types").GroupMetadata;
}>;
type: "md";
ws: import("ws");
ev: import("../Types").BaileysEventEmitter;
authState: {
creds: import("../Types").AuthenticationCreds;
keys: import("../Types").SignalKeyStoreWithTransaction;
};
user: import("../Types").Contact;
assertingPreKeys: (range: number, execute: (keys: {
[_: number]: any;
}) => Promise) => Promise;
generateMessageTag: () => string;
query: (node: import("..").BinaryNode, timeoutMs?: number) => Promise;
waitForMessage: (msgId: string, timeoutMs?: number) => Promise;
waitForSocketOpen: () => Promise;
sendRawMessage: (data: Uint8Array | Buffer) => Promise;
sendNode: (node: import("..").BinaryNode) => Promise;
logout: () => Promise;
end: (error: Error) => void;
onUnexpectedError: (error: Error, msg: string) => void;
waitForConnectionUpdate: (check: (u: Partial) => boolean, timeoutMs?: number) => Promise;
};
export default makeWASocket;