import type { PluginInput } from '@opencode-ai/plugin'; import type { BackgroundJobStore, ContextFile } from '../../utils'; import type { StopEvidenceGate } from './stop-confirmation'; export declare const RUNTIME_STATUS_RECONCILE_DELAY_MS = 5000; export declare function createRuntimeStatusReconciler(options: { input: PluginInput; backgroundJobBoard: BackgroundJobStore; delayMs?: number; statusTimeoutMs?: number; stopConfirmationGraceMs?: number; taskContextTracker: { pendingManagedTaskIds: Set; contextFilesForPrompt(taskId: string): ContextFile[]; prune(board: { taskIDs(): Set; }): void; }; /** Transcript-backed stop gate: consulted before publishing `stopped` * so a quiescent job whose transcript already holds the terminal * result settles completed/error instead (false-stop incident). */ stopEvidenceGate?: StopEvidenceGate; }): { schedule: () => void; reconcile: () => Promise; dispose: () => void; };