import { UiScaleType } from "../../generated/UiScaleType";
import { UiLineChartCurveType } from "../../generated/UiLineChartCurveType";
import * as d3 from "d3";
import { Selection } from "d3";
export declare function fakeZeroIfLogScale(y: number, scaleType: UiScaleType): number;
export declare const CurveTypeToCurveFactory: {
    [UiLineChartCurveType.LINEAR]: d3.CurveFactory;
    [UiLineChartCurveType.STEP]: d3.CurveFactory;
    [UiLineChartCurveType.STEPBEFORE]: d3.CurveFactory;
    [UiLineChartCurveType.STEPAFTER]: d3.CurveFactory;
    [UiLineChartCurveType.BASIS]: d3.CurveFactory;
    [UiLineChartCurveType.CARDINAL]: d3.CurveCardinalFactory;
    [UiLineChartCurveType.MONOTONE]: d3.CurveFactory;
    [UiLineChartCurveType.CATMULLROM]: d3.CurveCatmullRomFactory;
};
export interface DataPoint {
    x: number;
    y: number;
}
export declare type SVGGSelection<DATUM = {}> = Selection<SVGGElement, DATUM, HTMLElement, undefined>;
