/** * Messaging Routes * * Hono route factory shared by SMS and WhatsApp — Twilio uses the same * TwiML response format and webhook payload shape for both. * * Endpoints (channel is "sms" or "whatsapp"): * - POST / — Incoming message webhook * - POST //fallback — Fallback when incoming URL fails * - POST //status — Message delivery status callback * - GET / — Health check */ import { Hono } from "hono"; import type { FlowRegistry } from "../../flows/registry"; import type { TalkerDependencies } from "../../types"; import type { MessagingChannel } from "./processor"; /** * Create routes for a messaging channel (SMS or WhatsApp) */ export declare function messagingRoutes(deps: TalkerDependencies, registry: FlowRegistry, channel: MessagingChannel): Hono;