UNPKG

@scribelabsai/amazon-trp

Version:

Amazon Textract Response Parser library for Node.

20 lines 608 B
import { Geometry } from '../Geometry'; import { SelectionElement } from '../SelectionElement'; import { Word } from '../Word'; import type { BlockMap, CellBlock } from '../BlockStruct'; export declare class Cell { block: CellBlock; confidence: number; rowIndex: number; rowSpan: number; columnIndex: number; columnSpan: number; geometry: Geometry; id: string; content: (Word | SelectionElement)[]; text: string; constructor(block: CellBlock, blockMap?: BlockMap); toString(): string; static fromCell(cell: Cell): Cell; } //# sourceMappingURL=Cell.d.ts.map