import { PlotLineConfig, YagrPlugin } from '../../types'; export type PlotLinesPlugin = YagrPlugin<{ update: (additionalPlotLines?: PlotLineConfig[], scale?: string) => void; add: (additionalPlotLines: PlotLineConfig[], scale?: string) => void; clear: (scale?: string) => void; get: () => PlotLineConfig[]; remove: (plotLinesToRemove: PlotLineConfig[], scale?: string) => void; }>; export interface PlotLineOptions { render: (uPlot: uPlot, p: PlotLineConfig) => void; } export default function plotLinesPlugin(options: PlotLineOptions): PlotLinesPlugin;