/** * extract-text specialized Vision mapping (DESIGN.md §15, P5-03b). * * Composes the user instruction, an optional programming-language hint, * and the exact-text recovery intent into a single prompt for * `sdk.vision.describe`. The user instruction is preserved verbatim; * the optional programming-language hint is rendered exactly once. The * mapping routes ONLY through `sdk.vision.describe` with one image — it * never claims a dedicated MiniMax operation. * * This Module is wired into the generated operation map * (`vision-mappings.generated.ts`) by the prebuild generator and * contributes the extract-text input to the conformance registry's * SHA-256 mapping revision. It stays unsupported at runtime until a * separate opt-in live attestation flips the registry's live state to * "pass" (DESIGN.md §15). * * Boundary rules: * - Pure prompt composition + result normalization only. No * `process.env`, no filesystem, no network, no Provider imports. * - Imports only the shared common runtime helpers; any change to * `common.ts` intentionally invalidates this mapping's revision. */ import type { SpecializedVisionOperation } from "../vision-conformance.js"; /** * The extract-text mapping Module. Satisfies the * {@link MiniMaxVisionMappingModule} interface declared in the generated * operation map. */ export declare const extractTextMapping: { readonly operation: SpecializedVisionOperation; composePrompt(request: unknown): string; normalizeResult(raw: unknown): string; }; //# sourceMappingURL=extract-text.d.ts.map