import type { ElicitationHandler } from '../elicitation-router.js'; import type { Telegraf } from 'telegraf'; export interface DaemonElicitationOpts { taskId: string; originalCommand: string; queueDir?: string; handoffsDir?: string; bot?: Telegraf; chatId?: number; threadId?: number; } export declare function makeDaemonElicitationHandler(opts: DaemonElicitationOpts): ElicitationHandler; export interface RecoveryResult { renotified: number; expired: number; } export declare function recoverPendingHandoffs(handoffsDir?: string, queueDir?: string, bot?: Telegraf): Promise; export declare function answerHandoff(taskId: string, answer: unknown, source: string, handoffsDir?: string): Promise; export declare function cleanupHandoff(taskId: string, handoffsDir?: string): Promise;