import type { NumArray } from '@h5web/shared'; import type { NdArray } from 'ndarray'; export enum CurveType { LineOnly = 'OnlyLine', GlyphsOnly = 'OnlyGlyphs', LineAndGlyphs = 'LineAndGlyphs', } export enum GlyphType { Circle = 'Circle', Cross = 'Cross', Square = 'Square', Cap = 'Cap', } export interface TooltipData { abscissa: number; xi: number; x: number; } export interface AuxiliaryParams { array: NdArray; label?: string; errors?: NdArray; }