UNPKG

mindee

Version:

Mindee Client Library for Node.js

18 lines (17 loc) 592 B
import { Inference, StringDict, Page } from "../../parsing/common"; import { CropperV1Document } from "./cropperV1Document"; import { CropperV1Page } from "./cropperV1Page"; /** * Cropper API version 1 inference prediction. */ export declare class CropperV1 extends Inference { /** The endpoint's name. */ endpointName: string; /** The endpoint's version. */ endpointVersion: string; /** The document-level prediction. */ prediction: CropperV1Document; /** The document's pages. */ pages: Page<CropperV1Page>[]; constructor(rawPrediction: StringDict); }