import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ExtractionForecastStep } from "./extractionforecaststep.js"; export type ExtractionForecastAnswerGuess = number | string; export type ExtractionForecastAnswerMean = number | string; export type ExtractionForecastAnswerMedian = number | string; export type ExtractionForecastAnswerP10 = number | string; export type ExtractionForecastAnswerP90 = number | string; /** * Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. */ export declare const ExtractionForecastAnswerSource: { readonly State: "state"; readonly Image: "image"; readonly Document: "document"; }; /** * Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. */ export type ExtractionForecastAnswerSource = OpenEnum; export type ExtractionForecastAnswerValue = number | string; export type ExtractionForecastAnswer = { confidence?: number | undefined; /** * The most likely value even when `value` is null because `p_null` crossed the threshold. */ guess?: Array | undefined; mean?: Array | undefined; median?: Array | undefined; /** * Probability that the state contains nothing for this field. */ pNull?: number | undefined; p10?: Array | undefined; p90?: Array | undefined; /** * Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. */ source?: ExtractionForecastAnswerSource | undefined; /** * Confidence in the spelling of text read from an image. */ spellConfidence?: number | undefined; steps?: Array | undefined; type: "forecast"; value: Array | null; }; /** @internal */ export declare const ExtractionForecastAnswerGuess$inboundSchema: z.ZodType; export declare function extractionForecastAnswerGuessFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractionForecastAnswerMean$inboundSchema: z.ZodType; export declare function extractionForecastAnswerMeanFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractionForecastAnswerMedian$inboundSchema: z.ZodType; export declare function extractionForecastAnswerMedianFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractionForecastAnswerP10$inboundSchema: z.ZodType; export declare function extractionForecastAnswerP10FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractionForecastAnswerP90$inboundSchema: z.ZodType; export declare function extractionForecastAnswerP90FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractionForecastAnswerSource$inboundSchema: z.ZodType; /** @internal */ export declare const ExtractionForecastAnswerValue$inboundSchema: z.ZodType; export declare function extractionForecastAnswerValueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractionForecastAnswer$inboundSchema: z.ZodType; export declare function extractionForecastAnswerFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=extractionforecastanswer.d.ts.map