/** * Factory that produces one cohesive set of intake objects per runtime. * * The same three objects are handed to both the ScannerLauncher and the * registerSignalsRoute mount so they share state without coupling. * * Each call returns a fresh, independent context — per-runtime isolation. */ import type { ScannerRegistry } from "./scanner-registry.js"; import type { AcceptanceRecord } from "./acceptance-record.js"; import type { LivenessStore } from "./liveness-store.js"; import type { AcceptanceRecordLogger } from "./acceptance-record.js"; export interface IntakeContext { registry: ScannerRegistry; record: AcceptanceRecord; liveness: LivenessStore; } /** * Options for {@link createIntakeContext}. * * When `acceptanceRecordPath` is supplied the acceptance high-water-mark is * DURABLE (survives a gateway restart, so a re-delivered signal is superseded * rather than re-accepted). When omitted it stays in-memory — the default for * tests and the API-disabled seam, so existing behavior is unchanged. */ export interface CreateIntakeContextOptions { acceptanceRecordPath?: string; logger?: AcceptanceRecordLogger; } export declare function createIntakeContext(opts?: CreateIntakeContextOptions): IntakeContext; //# sourceMappingURL=intake-context.d.ts.map