UNPKG

mindee

Version:

Mindee Client Library for Node.js

31 lines (30 loc) 881 B
import { StringDict } from "../../../parsing/common"; import { Polygon } from "../../../geometry"; /** * The entity that consumes the energy. */ export declare class EnergyBillV1EnergyConsumer { #private; /** The address of the energy consumer. */ address: string | null; /** The name of the energy consumer. */ name: string | null; /** Confidence score */ confidence: number; /** The document page on which the information was found. */ pageId: number; /** * Contains the relative vertices coordinates (points) of a polygon containing * the field in the document. */ polygon: Polygon; constructor({ prediction }: StringDict); /** * Default string representation. */ toString(): string; /** * Output in a format suitable for inclusion in a field list. */ toFieldList(): string; }