/** * Chat Controller endpoint definitions */ import { z } from 'zod'; import { EndpointInfo } from '../types'; export declare const findMessagesSchema: z.ZodObject<{ instance: z.ZodString; where: z.ZodOptional; fromMe: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; remoteJid?: string | undefined; fromMe?: boolean | undefined; }, { id?: string | undefined; remoteJid?: string | undefined; fromMe?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { key?: { id?: string | undefined; remoteJid?: string | undefined; fromMe?: boolean | undefined; } | undefined; }, { key?: { id?: string | undefined; remoteJid?: string | undefined; fromMe?: boolean | undefined; } | undefined; }>>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { instance: string; where?: { key?: { id?: string | undefined; remoteJid?: string | undefined; fromMe?: boolean | undefined; } | undefined; } | undefined; limit?: number | undefined; }, { instance: string; where?: { key?: { id?: string | undefined; remoteJid?: string | undefined; fromMe?: boolean | undefined; } | undefined; } | undefined; limit?: number | undefined; }>; export declare const findContactsSchema: z.ZodObject<{ instance: z.ZodString; where: z.ZodOptional; number: z.ZodOptional; }, "strip", z.ZodTypeAny, { number?: string | undefined; name?: string | undefined; }, { number?: string | undefined; name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { instance: string; where?: { number?: string | undefined; name?: string | undefined; } | undefined; }, { instance: string; where?: { number?: string | undefined; name?: string | undefined; } | undefined; }>; export declare const findChatsSchema: z.ZodObject<{ instance: z.ZodString; where: z.ZodOptional; jid: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; jid?: string | undefined; }, { name?: string | undefined; jid?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { instance: string; where?: { name?: string | undefined; jid?: string | undefined; } | undefined; }, { instance: string; where?: { name?: string | undefined; jid?: string | undefined; } | undefined; }>; export declare const markAsReadSchema: z.ZodObject<{ instance: z.ZodString; readMessages: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { instance: string; readMessages: { id: string; remoteJid: string; fromMe: boolean; }[]; }, { instance: string; readMessages: { id: string; remoteJid: string; fromMe: boolean; }[]; }>; export declare const archiveChatSchema: z.ZodObject<{ instance: z.ZodString; chat: z.ZodString; archive: z.ZodBoolean; }, "strip", z.ZodTypeAny, { instance: string; chat: string; archive: boolean; }, { instance: string; chat: string; archive: boolean; }>; export declare const checkIsWhatsappSchema: z.ZodObject<{ instance: z.ZodString; numbers: z.ZodArray; }, "strip", z.ZodTypeAny, { instance: string; numbers: string[]; }, { instance: string; numbers: string[]; }>; export declare const sendPresenceSchema: z.ZodObject<{ instance: z.ZodString; number: z.ZodString; presence: z.ZodEnum<["composing", "recording", "paused"]>; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; instance: string; presence: "composing" | "recording" | "paused"; delay?: number | undefined; }, { number: string; instance: string; presence: "composing" | "recording" | "paused"; delay?: number | undefined; }>; export declare const chatEndpoints: EndpointInfo[];