/** * Message Controller endpoint definitions */ import { z } from 'zod'; import { EndpointInfo } from '../types'; export declare const sendTextSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; text: z.ZodString; delay: z.ZodOptional; quoted: z.ZodOptional; message: z.ZodAny; }, "strip", z.ZodTypeAny, { key: { id: string; remoteJid: string; fromMe: boolean; }; message?: any; }, { key: { id: string; remoteJid: string; fromMe: boolean; }; message?: any; }>>; }, "strip", z.ZodTypeAny, { number: string; instance: string; text: string; delay?: number | undefined; quoted?: { key: { id: string; remoteJid: string; fromMe: boolean; }; message?: any; } | undefined; }, { number: string; instance: string; text: string; delay?: number | undefined; quoted?: { key: { id: string; remoteJid: string; fromMe: boolean; }; message?: any; } | undefined; }>; export declare const sendMediaSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; media: z.ZodString; caption: z.ZodOptional; fileName: z.ZodOptional; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; media: string; delay?: number | undefined; caption?: string | undefined; fileName?: string | undefined; }, { number: string; instance: string; media: string; delay?: number | undefined; caption?: string | undefined; fileName?: string | undefined; }>; export declare const sendAudioSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; audio: z.ZodString; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; audio: string; delay?: number | undefined; }, { number: string; instance: string; audio: string; delay?: number | undefined; }>; export declare const sendStickerSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; sticker: z.ZodString; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; sticker: string; delay?: number | undefined; }, { number: string; instance: string; sticker: string; delay?: number | undefined; }>; export declare const sendLocationSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; latitude: z.ZodNumber; longitude: z.ZodNumber; name: z.ZodOptional; address: z.ZodOptional; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; latitude: number; longitude: number; name?: string | undefined; delay?: number | undefined; address?: string | undefined; }, { number: string; instance: string; latitude: number; longitude: number; name?: string | undefined; delay?: number | undefined; address?: string | undefined; }>; export declare const sendContactSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; contact: z.ZodObject<{ fullName: z.ZodString; wuid: z.ZodString; phoneNumber: z.ZodString; }, "strip", z.ZodTypeAny, { fullName: string; wuid: string; phoneNumber: string; }, { fullName: string; wuid: string; phoneNumber: string; }>; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; contact: { fullName: string; wuid: string; phoneNumber: string; }; delay?: number | undefined; }, { number: string; instance: string; contact: { fullName: string; wuid: string; phoneNumber: string; }; delay?: number | undefined; }>; export declare const sendReactionSchema: z.ZodObject<{ instance: z.ZodString; key: z.ZodObject<{ remoteJid: z.ZodString; fromMe: z.ZodBoolean; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; remoteJid: string; fromMe: boolean; }, { id: string; remoteJid: string; fromMe: boolean; }>; reaction: z.ZodString; }, "strip", z.ZodTypeAny, { instance: string; key: { id: string; remoteJid: string; fromMe: boolean; }; reaction: string; }, { instance: string; key: { id: string; remoteJid: string; fromMe: boolean; }; reaction: string; }>; export declare const sendPollSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; name: z.ZodString; selectableCount: z.ZodNumber; values: z.ZodArray; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; name: string; values: string[]; instance: string; selectableCount: number; delay?: number | undefined; }, { number: string; name: string; values: string[]; instance: string; selectableCount: number; delay?: number | undefined; }>; export declare const sendListSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; title: z.ZodString; description: z.ZodString; buttonText: z.ZodString; footerText: z.ZodOptional; sections: z.ZodArray; rowId: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; rowId: string; description?: string | undefined; }, { title: string; rowId: string; description?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { title: string; rows: { title: string; rowId: string; description?: string | undefined; }[]; }, { title: string; rows: { title: string; rowId: string; description?: string | undefined; }[]; }>, "many">; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; description: string; title: string; buttonText: string; sections: { title: string; rows: { title: string; rowId: string; description?: string | undefined; }[]; }[]; delay?: number | undefined; footerText?: string | undefined; }, { number: string; instance: string; description: string; title: string; buttonText: string; sections: { title: string; rows: { title: string; rowId: string; description?: string | undefined; }[]; }[]; delay?: number | undefined; footerText?: string | undefined; }>; export declare const sendButtonSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; title: z.ZodString; description: z.ZodString; footer: z.ZodOptional; buttons: z.ZodArray; reply: z.ZodObject<{ displayText: z.ZodString; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; displayText: string; }, { id: string; displayText: string; }>; }, "strip", z.ZodTypeAny, { type: "replyButton"; reply: { id: string; displayText: string; }; }, { type: "replyButton"; reply: { id: string; displayText: string; }; }>, "many">; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; description: string; title: string; buttons: { type: "replyButton"; reply: { id: string; displayText: string; }; }[]; delay?: number | undefined; footer?: string | undefined; }, { number: string; instance: string; description: string; title: string; buttons: { type: "replyButton"; reply: { id: string; displayText: string; }; }[]; delay?: number | undefined; footer?: string | undefined; }>; export declare const messageEndpoints: EndpointInfo[];