import { ImageRawBase } from '@gutenye/ocr-common'; import type { ImageRawData, LineImage, SizeOption } from '@gutenye/ocr-common'; export declare class ImageRaw extends ImageRawBase { #private; data: Uint8ClampedArray; static open(url: string): Promise; constructor({ data, width, height }: ImageRawData); write(path: string): Promise; resize({ width, height }: SizeOption): Promise; drawBox(lineImages: LineImage[]): Promise; }