import type { Types } from '@cornerstonejs/core'; export type PolygonWithHoles = { outer: Types.Point2[]; holes?: Types.Point2[][]; }; export declare enum BooleanOp { Union = 0, Difference = 1, Intersection = 2, Xor = 3 } export declare function applyBoolean(subjects: PolygonWithHoles[], clips: PolygonWithHoles[], op: BooleanOp): PolygonWithHoles[]; export declare function splitSelfIntersections(polyline: Types.Point2[]): PolygonWithHoles[];