import type { _ModuleSupport } from 'ag-charts-community';
import { type Point } from 'ag-charts-core';
import type { AnnotationContext } from '../annotationTypes';
import type { PointProperties } from '../properties/pointProperties';
import { AnnotationScene } from './annotationScene';
import { DivariantHandle } from './handle';
export declare abstract class PointScene<Datum extends PointProperties> extends AnnotationScene {
    activeHandle?: string;
    protected readonly handle: DivariantHandle;
    protected dragState?: {
        offset: Point;
        handle: Point;
    };
    protected anchor: _ModuleSupport.FloatingToolbarAnchor;
    update(datum: Datum, context: AnnotationContext): void;
    dragStart(datum: Datum, target: Point, context: AnnotationContext): void;
    drag(datum: Datum, target: Point, context: AnnotationContext): void;
    translate(datum: Datum, translation: Point, context: AnnotationContext): void;
    toggleHandles(show: boolean | Partial<Record<'handle', boolean>>): void;
    toggleActive(active: boolean): void;
    stopDragging(): void;
    copy(datum: Datum, copiedDatum: Datum, context: AnnotationContext): Datum;
    getAnchor(): _ModuleSupport.FloatingToolbarAnchor;
    getCursor(): string;
    containsPoint(x: number, y: number): boolean;
    getNodeAtCoords(x: number, y: number): string | undefined;
    protected updateHandle(datum: Datum, point: Point, bbox?: _ModuleSupport.BBox): void;
    protected updateAnchor(datum: Datum, point: Point, context: AnnotationContext): {
        x: number;
        y: number;
        position: "right" | "above" | "above-left" | "below" | undefined;
    };
    protected getHandleCoords(_datum: Datum, point: Point, _bbox?: _ModuleSupport.BBox): Point;
    protected getHandleStyles(datum: Datum): {
        fill: string | undefined;
        stroke: string | undefined;
        strokeOpacity: number | undefined;
        strokeWidth: number | undefined;
    };
}
