/** * /errors handler. * * Resolves scanner_id, updates liveness, calls the onError seam. */ import type { ScannerRegistry } from "./scanner-registry.js"; import type { ErrorsBody, ErrorsResponse, IntakeTickFacts } from "./types.js"; export interface ProcessErrorPostDeps { registry: ScannerRegistry; now: () => number; updateLiveness: (scannerId: string, now: number) => void; onError: (scannerId: string, error: Record) => void; /** * The failed tick's own observability facts. The same seam `/signals` calls: a tick that failed * still ran, and what it did before it failed is the part an operator needs. */ onTick?: (scannerId: string, tick: IntakeTickFacts) => void; } export declare function processErrorPost(body: ErrorsBody, deps: ProcessErrorPostDeps): Promise; //# sourceMappingURL=process-error-post.d.ts.map