@briancullen/aws-textract-parser
Version:
Library for converting AWS Textract responses into a more usable structure.
11 lines (10 loc) • 461 B
TypeScript
import { PageBlock, LineBlock, Document, BlockType } from '../types';
import BlockNode from './BlockNode';
import { Geometry } from './Geometry';
import LineBlockNode from './LineBlockNode';
export default class PageBlockNode extends BlockNode<Document, LineBlock> implements PageBlock {
readonly id: string;
readonly geometry: Geometry;
readonly blockType: BlockType.Page;
constructor(id: string, geometry: Geometry, lines: LineBlockNode[]);
}