// NullOcrAdapter (Epic #189, Issue #202). The default adapter used when no real OCR engine
// has been configured. Always returns `ok: false, reason: "ocr-not-configured"` so the
// pipeline parser can fire the standard unsupported-media diagnostic rather than silently
// skipping the document.
//
// Never throws — the contract in OcrAdapter.ocrPage forbids throwing.
const NOT_CONFIGURED = Object.freeze({
    ok: false,
    reason: "ocr-not-configured",
});
export const nullOcrAdapter = Object.freeze({
    kind: "ocr",
    ocrPage: (_input) => Promise.resolve(NOT_CONFIGURED),
});
