UNPKG

@llamaindex/ui

Version:

A comprehensive UI component library built with React, TypeScript, and Tailwind CSS for LlamaIndex applications

35 lines (31 loc) 564 B
// Types for bounding box data export interface BoundingBox { id: string; x: number; y: number; width: number; height: number; confidence?: number; label?: string; color?: string; } // Types for page data export interface PageData { pageNumber: number; imageUrl: string; width: number; height: number; boundingBoxes: BoundingBox[]; } export interface FileData { fileName: string; pages: PageData[]; totalPages: number; } export interface Highlight { page: number; x: number; y: number; width: number; height: number; }