UNPKG

mindee

Version:

Mindee Client Library for Node.js

35 lines (34 loc) 1.01 kB
import { StringDict } from "../../../parsing/common"; import { Polygon } from "../../../geometry"; /** * Detailed information about the earnings. */ export declare class PayslipV2SalaryDetail { #private; /** The amount of the earnings. */ amount: number | null; /** The base value of the earnings. */ base: number | null; /** The description of the earnings. */ description: string | null; /** The rate of the earnings. */ rate: 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; }