/** * Map a Telegram update → the normalized {@link ShuttleMessage} the base runs. * Pure and testable. Returns null for anything we don't answer (no text, etc.). */ import type { ShuttleMessage } from '../adapter.js'; import type { TgMessage, TgUpdate } from './api.js'; /** True if the bot was @mentioned (or replied-to) — gates group responses. */ export declare function isBotMentioned(m: TgMessage, text: string, botUsername?: string): boolean; export declare function toShuttleMessage(update: TgUpdate, botUsername?: string): ShuttleMessage | null; //# sourceMappingURL=message.d.ts.map