import { FC } from 'react'; import { OCRLabel } from './LabelEditorItem'; import { LabelItem } from '../../../DetectionImageAnnotation'; interface Category { id: string; name: string; } interface OCRBoxMakerProps { disabled?: boolean; id: string; imageUrl: string; canvasElement: HTMLCanvasElement | null; categories: Category[]; labels: OCRLabel[]; onChange: (labels: OCRLabel[]) => void; renderLabelItem?: (label: LabelItem) => string; } declare const OCRBoxMaker: FC; export default OCRBoxMaker;