1import { Annotation, AnnotationView } from "./annotation"; 2import { TooltipAttachment } from "../../core/enums"; 3import * as p from "../../core/properties"; 4export declare class TooltipView extends AnnotationView { 5 model: Tooltip; 6 protected el: HTMLElement; 7 initialize(): void; 8 remove(): void; 9 connect_signals(): void; 10 styles(): string[]; 11 render(): void; 12 protected _render(): void; 13 protected _reposition(): void; 14} 15export declare namespace Tooltip { 16 type Attrs = p.AttrsOf<Props>; 17 type Props = Annotation.Props & { 18 attachment: p.Property<TooltipAttachment>; 19 inner_only: p.Property<boolean>; 20 show_arrow: p.Property<boolean>; 21 position: p.Property<[number, number] | null>; 22 content: p.Property<HTMLElement>; 23 custom: p.Property<boolean>; 24 }; 25} 26export interface Tooltip extends Tooltip.Attrs { 27} 28export declare class Tooltip extends Annotation { 29 properties: Tooltip.Props; 30 __view_type__: TooltipView; 31 constructor(attrs?: Partial<Tooltip.Attrs>); 32 static init_Tooltip(): void; 33 clear(): void; 34} 35//# sourceMappingURL=tooltip.d.ts.map