/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 8962b18027da
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const OCRConfidenceScore$inboundSchema = z.object({
    text: z.string(),
    confidence: z.number(),
    start_index: z.int(),
}).transform((v) => {
    return remap$(v, {
        "start_index": "startIndex",
    });
});
export function ocrConfidenceScoreFromJSON(jsonString) {
    return safeParse(jsonString, (x) => OCRConfidenceScore$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OCRConfidenceScore' from JSON`);
}
//# sourceMappingURL=ocrconfidencescore.js.map