import { SemanticColor } from '../types';
import { BaseChartProps, TimeSeriesDef, ChartTimeRange, ChartAnnotation, ChartEventMarker, MetricFormat } from './types';
export interface ChartMargin {
    top?: number;
    right?: number;
    bottom?: number;
    left?: number;
}
export interface TimeSeriesChartProps extends BaseChartProps {
    series: TimeSeriesDef[];
    timeRange?: ChartTimeRange;
    yAxisLabel?: string;
    valueFormat?: MetricFormat;
    annotations?: ChartAnnotation[];
    area?: boolean;
    grid?: boolean;
    showLegend?: boolean;
    showMarks?: boolean;
    colors?: (SemanticColor | string)[];
    /** Position of the y-axis. Default: 'left' */
    yAxisPosition?: 'left' | 'right' | 'none';
    /** Position of the x-axis. Default: 'bottom' */
    xAxisPosition?: 'bottom' | 'top' | 'none';
    /** Compact mode hides axis lines for embedded use */
    compact?: boolean;
    /** Override chart margins (space between SVG border and axes). Partial — unset keys use defaults. */
    margin?: ChartMargin;
    /** Override y-axis width (space for tick labels). Default: 30 in compact, 40 otherwise. */
    yAxisWidth?: number;
    /** Override x-axis height (space for tick labels). Default: 20 in compact, 24 otherwise. */
    xAxisHeight?: number;
    /** Render y-axis labels inside the chart area (Grafana/Lens style). Hides the external y-axis. */
    yAxisInline?: boolean;
    /** Which side to render inline y-axis labels. Default: 'right' */
    yAxisInlinePosition?: 'left' | 'right';
    /** Lens-style vertical event markers at specific timestamps */
    eventMarkers?: ChartEventMarker[];
}
declare function TimeSeriesChart({ series, timeRange, yAxisLabel, valueFormat, unit, valueFormatter: customFormatter, annotations, area, grid, showLegend, showMarks, colors, yAxisPosition, xAxisPosition, compact, margin: marginOverride, yAxisWidth: yAxisWidthOverride, xAxisHeight: xAxisHeightOverride, yAxisInline, yAxisInlinePosition, eventMarkers, size, height: heightOverride, loading, error, onRetry, skipAnimation, sx, }: TimeSeriesChartProps): import("react/jsx-runtime").JSX.Element;
declare namespace TimeSeriesChart {
    var displayName: string;
}
export default TimeSeriesChart;
