import * as React from 'react'; import type { LegendDisplay } from './TimelineLegend'; import { LaneSeries, Lanes } from './utils/timelineUtils'; import 'uplot/dist/uPlot.min.css'; type TimelineLayoutArgs = { width: number; height: number; yAxisLabelWidth: number; laneCount: number; showLegend?: boolean; legendDisplay?: LegendDisplay; }; export declare const getTimelineLayout: ({ width, height, yAxisLabelWidth, laneCount, showLegend, legendDisplay, }: TimelineLayoutArgs) => { laneBandHeight: number; chartHeight: number; chartWidth: number; reserveScrollbarGutter: boolean; legendMaxHeight: number; }; interface TimelineUplotProps { backgroundColor: string; width: number; height: number; yAxisLabelWidth: number; laneSeries: LaneSeries; lanes: Lanes; showLegend?: boolean; legendDisplay?: LegendDisplay; categoryColors?: Map; legendTruncation?: 'ellipsisEnd' | 'ellipsisMiddle' | 'ellipsisStart' | 'ellipsisOff'; locale?: string; tickInterval: string; handleEventClick?: (...args: any[]) => void; handleLaneClick?: (...args: any[]) => void; handleLegendClick?: (...args: any[]) => void; } declare const TimelineUplot: ({ backgroundColor, width, height, yAxisLabelWidth, laneSeries, lanes, showLegend, legendDisplay, categoryColors, legendTruncation, tickInterval, handleEventClick, handleLaneClick, handleLegendClick, locale, }: TimelineUplotProps) => React.JSX.Element; export default TimelineUplot; //# sourceMappingURL=TimelineUplot.d.ts.map