import type { AgentTool } from '@earendil-works/pi-agent-core'; import type { MessageBus } from '../../infra/bus/index.js'; interface MessageContext { channel: string; chatId: string; } /** * Create the send_message tool. * * NOTE: TTS (Text-to-Speech) is NOT handled by this tool. * TTS is applied at the dispatch layer via maybeApplyTtsToPayload(), not at the tool layer. * * This prevents duplicate messages (text + voice) being sent. */ export declare function createMessageTool(bus: MessageBus, getContext: () => MessageContext | null): AgentTool; export {};