import { z } from "zod"; /** * MCP tool: send_message * * Phase A v0.1 real-time A2A messaging. POSTs to /v1/messages with * the agent's existing credentials. Feature-flag-gated server-side * (accounts.feature_flags.realtime_messaging); returns a clear error * to the model when the flag is off. */ declare const schema: z.ZodObject<{ recipient: z.ZodString; body: z.ZodString; thread_id: z.ZodOptional; in_reply_to_id: z.ZodOptional; content_type: z.ZodOptional; }, "strip", z.ZodTypeAny, { recipient: string; body: string; thread_id?: string | undefined; in_reply_to_id?: string | undefined; content_type?: string | undefined; }, { recipient: string; body: string; thread_id?: string | undefined; in_reply_to_id?: string | undefined; content_type?: string | undefined; }>; export type SendMessageInput = z.infer; export declare function createSendMessageTool(args: { apiBase: string; apiKey: string; agentId: string; }): { name: "send_message"; description: string; schema: z.ZodObject<{ recipient: z.ZodString; body: z.ZodString; thread_id: z.ZodOptional; in_reply_to_id: z.ZodOptional; content_type: z.ZodOptional; }, "strip", z.ZodTypeAny, { recipient: string; body: string; thread_id?: string | undefined; in_reply_to_id?: string | undefined; content_type?: string | undefined; }, { recipient: string; body: string; thread_id?: string | undefined; in_reply_to_id?: string | undefined; content_type?: string | undefined; }>; handler: (input: SendMessageInput) => Promise<{ isError: boolean; content: { type: "text"; text: string; }[]; } | { content: { type: "text"; text: string; }[]; isError?: undefined; }>; }; export {};