import { WASocket, proto, AnyMessageContent, MiscMessageGenerationOptions, WAMediaUpload } from '@whiskeysockets/baileys'; type Templatable = { /** add buttons to the message (conflicts with normal buttons) */ text: string; templateButtons?: proto.IHydratedTemplateButton[]; footer?: string; }; export declare class ConnMessage { [key: string]: any; sendTextMessage(this: WASocket & ConnMessage, jid: string, text: string): Promise; reply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, text: string): Promise; react(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, emoji: string): Promise; send(this: WASocket & ConnMessage, jid: string, content: AnyMessageContent, options?: MiscMessageGenerationOptions): Promise; sendImage(this: WASocket & ConnMessage, jid: string, image: WAMediaUpload, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendImageReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, image: WAMediaUpload, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendVideo(this: WASocket & ConnMessage, jid: string, video: WAMediaUpload, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendVideoReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, video: WAMediaUpload, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendDocument(this: WASocket & ConnMessage, jid: string, document: WAMediaUpload, filename: string, mimeType: string, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendDocumentReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, document: WAMediaUpload, filename: string, mimeType: string, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendSticker(this: WASocket & ConnMessage, jid: string, sticker: WAMediaUpload, options?: MiscMessageGenerationOptions): Promise; sendStickerReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, sticker: WAMediaUpload, options?: MiscMessageGenerationOptions): Promise; sendGIF(this: WASocket & ConnMessage, jid: string, gif: WAMediaUpload, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendGIFReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, gif: WAMediaUpload, caption?: string, options?: MiscMessageGenerationOptions): Promise; sendAudio(this: WASocket & ConnMessage, jid: string, audio: WAMediaUpload, options?: MiscMessageGenerationOptions): Promise; sendAudioReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, audio: WAMediaUpload, options?: MiscMessageGenerationOptions): Promise; sendContact(this: WASocket & ConnMessage, jid: string, contact: { name: string; number: string; }, options?: MiscMessageGenerationOptions): Promise; sendContactReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, contact: { name: string; number: string; }, options?: MiscMessageGenerationOptions): Promise; sendPoll(this: WASocket & ConnMessage, jid: string, name: string, values: string[], selectableCount?: number): Promise; sendPollReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, name: string, values: string[], selectableCount?: number): Promise; editMessage(this: WASocket & ConnMessage, jid: string, m: proto.IWebMessageInfo, newContent: string | { text?: string; caption?: string; }): Promise; deleteMessage(this: WASocket & ConnMessage, jid: string, m: proto.IWebMessageInfo): Promise; sendLocation(this: WASocket & ConnMessage, jid: string, latitude: number, longitude: number, options?: MiscMessageGenerationOptions): Promise; sendLocationReply(this: WASocket & ConnMessage, m: proto.IWebMessageInfo, latitude: number, longitude: number, options?: MiscMessageGenerationOptions): Promise; sendLiveLocation(this: WASocket & ConnMessage, jid: string, latitude: number, longitude: number, durationMs: number, options?: MiscMessageGenerationOptions & { comment?: string; }): Promise; sendButton(this: WASocket & ConnMessage, jid: string, contentText: string, buttons: proto.Message.ButtonsMessage.IButton[], options?: MiscMessageGenerationOptions): Promise; sendListMessage(this: WASocket & ConnMessage, jid: string, message: proto.Message.ListMessage, options?: MiscMessageGenerationOptions): Promise; sendTemplateMessage(this: WASocket & ConnMessage, jid: string, content: Templatable, options?: MiscMessageGenerationOptions): Promise; } export {}; //# sourceMappingURL=connMessage.d.ts.map