import type { DiscoveryConsumer, DiscoverySession } from "../types.js"; export declare const DRIFT_CONSUMER_ID = "discovery:drift-consumer"; export declare const DRIFT_CONSUMER_VERSION = "1.0.0"; export type DriftFinding = { kind: "added" | "removed" | "changed" | "unchanged"; path: string; description: string; }; export type DriftReport = { sessionA: { id: string; hash: string; }; sessionB: { id: string; hash: string; }; findings: DriftFinding[]; summary: { added: number; removed: number; changed: number; unchanged: number; }; }; export interface DriftConsumerContext { sessionA: DiscoverySession; sessionB: DiscoverySession; } /** * Create a drift comparison consumer. * * Compares the canonical projections and findings of two DiscoverySessions * and reports added, removed, changed, and unchanged entries. */ export declare function createDriftConsumer(): DiscoveryConsumer;