import { Blob } from './Blob.js';
import { Obj, RectL } from './Primitives.js';
export declare class Region extends Obj {
    bounds: RectL;
    scans: Scan[];
    complexity: number;
    constructor(reader: Blob, copy?: Region);
    clone(): Region;
    toString(): string;
    _updateComplexity(): void;
    subtract(rect: RectL): void;
    intersect(rect: RectL): void;
    offset(offX: number, offY: number): void;
}
export declare function CreateSimpleRegion(left: number, top: number, right: number, bottom: number): Region;
export declare class Scan {
    top: number;
    bottom: number;
    scanlines: {
        left: number;
        right: number;
    }[];
    constructor(r: RectL, copy?: Scan);
    clone(): Scan;
    append(r: RectL): void;
    subtract(left: number, right: number): boolean;
    intersect(left: number, right: number): boolean;
}
//# sourceMappingURL=Region.d.ts.map