import { Polygon } from "../../../geometry/index.js"; import { StringDict } from "../../../parsing/index.js"; /** * OCR word item with text, confidence, and location polygon. */ export declare class Word { /** * Contains the relative vertices coordinates (points) of a polygon containing * the field in the document. */ polygon: Polygon; /** * OCR text content for the word. */ text: string; /** * Confidence score for the OCR word. */ confidence: number; constructor(rawPrediction: StringDict); }