import type * as Extend from "../index"; export interface ExtractionFieldResult { /** The unique identifier for this field */ id: string; /** The type of the extracted field */ type: Extend.ExtractionFieldResultType; value?: unknown; /** A value between 0 and 1 indicating confidence in the extraction */ confidence?: number; /** The field schema of nested fields */ schema?: Extend.ExtractionField[]; /** Reasoning and other insights from the model */ insights?: Extend.Insight[]; /** References for the extracted field */ references: Extend.ExtractionFieldResultReference[]; /** The enum options for enum fields, only set when type=enum */ enum?: Extend.EnumOption[]; }