import { type GraphEventDraft } from "../infra/graph-event-outbox.js"; import type { CaptureEvent } from "./capture-store.js"; export declare function captureEventToGraphDrafts(event: CaptureEvent): GraphEventDraft[]; /** * Folder nodes and folder→folder containment edges are static: the same folder * is otherwise re-emitted for every file inside it. Return the stableId of such * a structural draft (so it can be emitted once per process) or "" for per-file * drafts — file artifacts and the file's own containment edge — which must * always be emitted because their content changes. */ export declare function structuralFolderScopeKey(draft: GraphEventDraft): string; export declare function projectCaptureEventToGraph(event: CaptureEvent): void; /** Test-only: drain the projection queue synchronously to completion, without * scheduling further setImmediate ticks. */ export declare function drainProjectionQueueForTest(): void; /** Test-only: observable saturation state and a way to clear it between cases. */ export declare function projectionStateForTest(): { saturated: boolean; queued: number; }; export declare function resetProjectionStateForTest(): void;