UNPKG

mindee

Version:

Mindee Client Library for Node.js

18 lines (17 loc) 651 B
import { Inference, Page, StringDict } from "../../parsing/common"; import { CustomV1Document } from "./customV1Document"; import { CustomV1Page } from "./customV1Page"; /** * Inference prediction for Custom builds. */ export declare class CustomV1 extends Inference { /** The endpoint's name. Note: placeholder for custom APIs. */ endpointName: string; /** The endpoint's version. Note: placeholder for custom APIs. */ endpointVersion: string; /** The document-level prediction. */ prediction: CustomV1Document; /** The document's pages. */ pages: Page<CustomV1Page>[]; constructor(rawPrediction: StringDict); }