import type { MissionState, WorkerResult, WorkerState } from '../mission/types.js'; import type { RuntimeScopedStores } from '../application/runtime-scoped-stores.js'; import { type RuntimeSignalSink } from '../events/event-sink.js'; import type { BackgroundRegistry } from '../background/registry.js'; import type { ConcurrencyScheduler } from '../scheduler/concurrency.js'; import type { ProjectMethodologyLearningStore } from '../project-intelligence/methodology-learning.js'; import { ChildExecutionCoordinator } from './child-execution-coordinator.js'; type QueueTask = (m: MissionState, worker: WorkerState, run: () => Promise) => void; export declare class TaskResultReconciler { private readonly scheduler; private readonly registry; private readonly projectRoot; private readonly events; private readonly methodologyLearning; private readonly child; private readonly getHostConfig; private readonly queueTaskCallback; private readonly drainQueueCallback; private readonly scopedStores; constructor(scheduler: ConcurrencyScheduler, registry: BackgroundRegistry, projectRoot: string, events: RuntimeSignalSink | undefined, methodologyLearning: ProjectMethodologyLearningStore, child: ChildExecutionCoordinator, getHostConfig: () => Record, queueTaskCallback: QueueTask, drainQueueCallback: () => void, scopedStores: RuntimeScopedStores); private queueTask; private drainQueue; reconcileNativeResult(m: MissionState, workerID: string, result: WorkerResult): Promise; noteNativeWriteSet(m: MissionState, workerID: string, files: string[], source?: string, stateHash?: string): Promise; noteNativeStatus(m: MissionState, workerID: string, status: string): void; applyResult(m: MissionState, workerID: string, result: WorkerResult): void; } export {};