import { z } from 'zod'; import type { ServerState } from '../types.js'; export declare const ListMessagesInput: z.ZodObject<{ jid: z.ZodString; limit: z.ZodDefault; }, "strip", z.ZodTypeAny, { jid: string; limit: number; }, { jid: string; limit?: number | undefined; }>; export declare const ListMessagesOutput: z.ZodObject<{ messages: z.ZodArray; fromMe: z.ZodBoolean; timestamp: z.ZodNumber; text: z.ZodNullable; type: z.ZodString; }, "strip", z.ZodTypeAny, { key: { id: string; remoteJid: string; fromMe: boolean; }; text: string | null; type: string; fromMe: boolean; timestamp: number; }, { key: { id: string; remoteJid: string; fromMe: boolean; }; text: string | null; type: string; fromMe: boolean; timestamp: number; }>, "many">; }, "strip", z.ZodTypeAny, { messages: { key: { id: string; remoteJid: string; fromMe: boolean; }; text: string | null; type: string; fromMe: boolean; timestamp: number; }[]; }, { messages: { key: { id: string; remoteJid: string; fromMe: boolean; }; text: string | null; type: string; fromMe: boolean; timestamp: number; }[]; }>; export declare function listMessagesHandler(args: unknown, state: ServerState): Promise<{ content: { type: "text"; text: string; }[]; structuredContent: { messages: { key: { remoteJid: string; fromMe: boolean; id: string; }; fromMe: boolean; timestamp: any; text: string | null; type: string; }[]; }; }>; //# sourceMappingURL=list-messages.d.ts.map