/// import { OutputInfo } from "sharp"; import { Rect } from "./utils"; interface SharpInfoBuffer { info: OutputInfo; data: Buffer; } export declare class ImageAnalyzer { info: OutputInfo; private _boundary?; private _boundaryLines?; readonly data: Uint8ClampedArray; constructor({ info, data }: SharpInfoBuffer); readIndexedAlpha(index: number): number; readPositionedAlpha(x: number, y: number): number; isCompleteFilled(): boolean; getRectBoundary(): Rect; getBoundary(): Uint16Array; getBoundaryLines(): Uint16Array[] | number[][]; } export {};