mindee
Version:
Mindee Client Library for Node.js
19 lines (18 loc) • 517 B
TypeScript
import { StringDict } from "../common";
import { Field } from "./field";
export interface FieldConstructor {
prediction: StringDict;
valueKey?: string;
reconstructed?: boolean;
pageId?: number | undefined;
}
/**
* A field containing a text value.
*/
export declare class StringField extends Field {
/** The value. */
value?: string;
/** Value as it appears on the document. */
rawValue?: string;
constructor({ prediction, valueKey, reconstructed, pageId, }: FieldConstructor);
}