UNPKG

mindee

Version:

Mindee Client Library for Node.js

43 lines (42 loc) 1.36 kB
import { StringDict } from "../../../parsing/common"; import { Polygon } from "../../../geometry"; /** * Details of energy consumption. */ export declare class EnergyBillV1EnergyUsage { #private; /** The price per unit of energy consumed. */ consumption: number | null; /** Description or details of the energy usage. */ description: string | null; /** The end date of the energy usage. */ endDate: string | null; /** The start date of the energy usage. */ startDate: string | null; /** The rate of tax applied to the total cost. */ taxRate: number | null; /** The total cost of energy consumed. */ total: number | null; /** The unit of measurement for energy consumption. */ unit: string | null; /** The price per unit of energy consumed. */ unitPrice: number | 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 an rST table. */ toTableLine(): string; }