import type { TooltipContentProperty } from './common'; import type { ITooltipLabelActual, ITooltipLabelPattern } from './label'; import type { ITooltipShapeActual, ITooltipShapePattern } from './shape'; import type { TooltipRichTextAttrs } from '@visactor/vrender-components'; export interface ITooltipLinePattern extends ITooltipShapePattern, ITooltipLabelPattern { key?: TooltipContentProperty; keyFormatter?: string; value?: TooltipContentProperty; valueFormatter?: string; visible?: TooltipContentProperty; isKeyAdaptive?: TooltipContentProperty; spaceRow?: TooltipContentProperty; keyTimeFormat?: string; keyTimeFormatMode?: 'utc' | 'local'; valueTimeFormat?: string; valueTimeFormatMode?: 'utc' | 'local'; } export interface ITooltipLineActual extends ITooltipShapeActual, ITooltipLabelActual { key?: string; value?: string | TooltipRichTextAttrs; valueFormatter?: string; visible?: boolean; isKeyAdaptive?: boolean; spaceRow?: number; datum?: any; } export type TooltipActualTitleContent = { title?: ITooltipLineActual; content?: ITooltipLineActual[]; };