import type { Check } from '../types.js'; /** * Reads `handler_runs` (migration 047, src/storage/handler-run-log.ts), * written by src/pipeline/worker.ts at each terminal outcome of a handler * invocation. Makes two failure shapes visible that were previously only * discoverable by noticing missing memories or a growing poison-job count: * * - a registered handler kind with ZERO rows ever — "built, wired, never * invoked" (e.g. `reembed` only runs when explicitly triggered by an * operator, so this is expected for it and flagged only informationally). * - a handler whose most recent run FAILED — surfaced per-handler, not just * as an aggregate poison count with no breakdown of which pipeline stage * is broken. */ export declare function checkHandlerRunLog(dataDir: string, encryptionEnabled: boolean): Check;