import { type Telegraf } from 'telegraf'; import type { HandoffRecord } from '../agent/daemon/handoff-store.js'; export interface SendHandoffOpts { bot: Telegraf; record: HandoffRecord; chatId: number; threadId?: number; handoffsDir?: string; } export interface SendHandoffResult { ok: boolean; messageId?: number; } export declare function sendHandoffQuestion(opts: SendHandoffOpts): Promise; export declare function registerHandoffAnswerHandlers(bot: Telegraf): void; export declare function matchReplyToHandoff(bot: Telegraf, chatId: number, replyToMessageId: number, text: string, handoffsDir?: string): Promise; export declare function clearPendingTextHandoff(taskId: string): void;