import { TextAnnotation, TextAnnotationView } from "./text_annotation"; import { SpatialUnits, AngleUnits } from "../../core/enums"; import { Size } from "../../core/layout"; import * as mixins from "../../core/property_mixins"; import * as p from "../../core/properties"; export declare class LabelView extends TextAnnotationView { model: Label; visuals: Label.Visuals; initialize(): void; protected _get_size(): Size; render(): void; } export declare namespace Label { type Props = TextAnnotation.Props & { x: p.Property; x_units: p.Property; y: p.Property; y_units: p.Property; text: p.Property; angle: p.Property; angle_units: p.Property; x_offset: p.Property; y_offset: p.Property; x_range_name: p.Property; y_range_name: p.Property; } & mixins.TextScalar & mixins.BorderLine & mixins.BackgroundFill; type Attrs = p.AttrsOf; type Visuals = TextAnnotation.Visuals; } export interface Label extends Label.Attrs { } export declare class Label extends TextAnnotation { properties: Label.Props; constructor(attrs?: Partial); static initClass(): void; }