import { OCR_18_PACKAGE } from './ocr-multilang-adapter.js'; export type Ocr18DetectState = 'ready' | 'ocr18-missing' | 'binary-missing' | 'llm-config-missing' | 'detection-failed'; export type Ocr18DetectResult = { readonly state: Ocr18DetectState; readonly npxAvailable: boolean; readonly package: typeof OCR_18_PACKAGE; readonly warnings: readonly string[]; readonly nextActions: readonly string[]; }; /** Named code for "npx itself could not be launched" — distinct from "npx is absent". */ export declare const NPX_PROBE_UNRESOLVED_CODE = "NPX_PROBE_UNRESOLVED"; /** * `cwd` is where the local npm tree is looked for (defaults to the process * cwd, like `runOcr18`'s own `cwd`); the npx cache roots are the machine's. */ export declare function detectOcr18(options?: { readonly cwd?: string; }): Ocr18DetectResult;