/** * Runtime validation schema and wrapper for tesseract.js OCR adapter options. * * @module @nhtio/adk/batteries/specialists/ocr/tesseract_js/validation * * @remarks * Validates `TesseractJsOcrAdapterOptions` at construction time. Throws * `E_INVALID_TESSERACT_JS_OCR_OPTIONS` on failure. `languages` is required and must be a non-empty * array of strings — language packs download on first use, so a missing/empty value fails loud * rather than silently picking a default; unknown top-level keys are rejected so typos fail loud. */ import type { TesseractJsOcrAdapterOptions } from "./types"; /** Validator schema for `TesseractJsOcrAdapterOptions`. Rejects unknown top-level keys. */ export declare const tesseractJsOcrOptionsSchema: import("@nhtio/validation").ObjectSchema; /** * Validates an arbitrary input against `tesseractJsOcrOptionsSchema`. * * @param input - The raw options object to validate. * @returns The resolved options object with defaults filled in. * @throws {@link @nhtio/adk/batteries!E_INVALID_TESSERACT_JS_OCR_OPTIONS} when invalid. */ export declare const validateOptions: (input: unknown) => TesseractJsOcrAdapterOptions;