import { ICosmographInternalApi } from "../../../internal"; /** * `PolygonalSelect` class provides a freeform polygonal selection tool that can be used to select an area within the Cosmograph visualization. * It uses a canvas-based approach to enable interactive selection of an arbitrary polygon region. */ export declare class PolygonalSelect { private _; private _canvas; private _ctx; private _isDrawing; private _points; private _onSelectCallback; private _resizeObserver?; constructor(_: ICosmographInternalApi); private _initializeCanvas; /** * Enables the polygonal selection tool, making it visible and interactive. */ enable(): void; /** * Disables the polygonal selection tool, hiding it and making it non-interactive. */ disable(): void; /** * Destroys the polygonal selection tool, removing it from the DOM. */ destroy(): void; private _startDrawing; private _draw; private _stopDrawing; private _resizeCanvas; }