import { TextAnnotation, TextAnnotationView } from "./text_annotation"; import type { CoordinateMapper } from "../../core/util/bbox"; import { CoordinateUnits, AngleUnits, Direction } from "../../core/enums"; import type * as p from "../../core/properties"; import type { Pannable, PanEvent, KeyModifiers } from "../../core/ui_events"; import { Signal } from "../../core/signaling"; import type { XY, SXY } from "../../core/util/bbox"; import { TextAnchor } from "../common/kinds"; import { Coordinate } from "../coordinates/coordinate"; type HitTarget = "area"; export declare class LabelView extends TextAnnotationView implements Pannable { model: Label; visuals: Label.Visuals; get mappers(): XY; get anchor(): XY; get angle(): number; get origin(): SXY; interactive_hit(sx: number, sy: number): boolean; protected _hit_test(cx: number, cy: number): HitTarget | null; private _can_hit; private _pan_state; on_pan_start(ev: PanEvent): boolean; on_pan(ev: PanEvent): void; on_pan_end(ev: PanEvent): void; cursor(sx: number, sy: number): string | null; } export declare namespace Label { type Props = TextAnnotation.Props & { anchor: p.Property; x: p.Property; y: p.Property; x_units: p.Property; y_units: p.Property; x_offset: p.Property; y_offset: p.Property; angle: p.Property; angle_units: p.Property; direction: p.Property; editable: p.Property; }; type Attrs = p.AttrsOf; type Visuals = TextAnnotation.Visuals; } export interface Label extends Label.Attrs { } export declare class Label extends TextAnnotation { properties: Label.Props; __view_type__: LabelView; constructor(attrs?: Partial); readonly pan: Signal<["pan" | "pan:start" | "pan:end", KeyModifiers], this>; } export {}; //# sourceMappingURL=label.d.ts.map