import { type TaskResultInput } from './result-reader.js'; /** Preserve the original question while a cold extraction runs; no new business Task. */ export declare function waitForTaskResult(conversationId: string, request: TaskResultInput): boolean; /** Existing result dispatch owns scheduling; stable input IDs recover an enqueue crash. */ export declare function drainTaskResultReads(options: { isAvailable: (conversationId: string) => boolean; submit: (input: { conversationId: string; clientMessageId: string; expectedTranscriptId: string; content: string; }) => Promise; }): Promise;