import { NearbySeriesArray } from './nearby-series'; export declare const TOOLTIP_MIN_WIDTH = 375; export declare const TOOLTIP_MAX_WIDTH = 650; export declare const TOOLTIP_MAX_HEIGHT = 650; export declare const TOOLTIP_LABELS_MAX_WIDTH: number; export declare const TOOLTIP_ADJUST_Y_POS_MULTIPLIER = 0.75; export declare const TOOLTIP_PADDING = 8; export declare const FALLBACK_CHART_WIDTH = 750; export declare const NEARBY_SERIES_DESCRIPTION = "nearby series showing in tooltip"; export declare const EMPHASIZED_SERIES_DESCRIPTION = "emphasized series showing as bold in tooltip"; export declare const TOOLTIP_BG_COLOR_FALLBACK = "#2E313E"; export declare const TOOLTIP_DATE_FORMAT: Intl.DateTimeFormat; export declare const defaultCursorData: { coords: { plotCanvas: { x: number; y: number; }; zrender: { x: number; y: number; }; target: null; }; chartWidth: number; }; export declare const EMPTY_TOOLTIP_DATA: NearbySeriesArray; /** * ECharts is built with zrender, zrX and zrY are undefined when not hovering over a chart canvas */ export interface ZRCoordinate { x?: number; y?: number; } export interface Coordinate { x: number; y: number; } export interface CursorCoordinates { page: Coordinate; client: Coordinate; plotCanvas: ZRCoordinate; target: EventTarget | null; } export interface CursorData { coords: CursorCoordinates | null; chartWidth?: number; } export interface TooltipData { focusedSeries: NearbySeriesArray | null; cursor: CursorData; } type ZREventProperties = { zrX?: number; zrY?: number; zrDelta?: number; zrEventControl?: 'no_globalout' | 'only_globalout'; zrByTouch?: boolean; }; export type ZRRawMouseEvent = MouseEvent & ZREventProperties; export declare const useMousePosition: () => CursorData['coords']; export type TooltipConfig = { wrapLabels: boolean; hidden?: boolean; enablePinning?: boolean; }; export declare const DEFAULT_TOOLTIP_CONFIG: TooltipConfig; export declare const PIN_TOOLTIP_HELP_TEXT = "Click chart to pin"; export declare const UNPIN_TOOLTIP_HELP_TEXT = "Click chart to unpin"; export {}; //# sourceMappingURL=tooltip-model.d.ts.map