/** * Provider-agnostic task reconciliation engine. * * Takes normalized ExternalTask[] from any provider adapter and reconciles * them against CLEO's authoritative task state. CLEO is always the SSoT. * * Uses the external_task_links table in tasks.db to track which external * tasks map to which CLEO tasks, enabling re-sync, update detection, and * bidirectional traceability. * * Provider-specific parsing is NEVER done here — that lives in the adapter's * ExternalTaskProvider implementation. */ import type { DataAccessor, ExternalTask, ReconcileOptions, ReconcileResult } from '@cleocode/contracts'; /** * Reconcile external task state with CLEO's authoritative task store. * * @param externalTasks - Normalized tasks from a provider adapter. * @param options - Reconciliation options. * @param accessor - Optional DataAccessor override (for testing). * @returns Reconciliation result with actions taken. */ export declare function reconcile(externalTasks: ExternalTask[], options: ReconcileOptions, accessor?: DataAccessor): Promise; //# sourceMappingURL=reconciliation-engine.d.ts.map