import { Layout } from "plotly.js-basic-dist";
import { AxisType, BarProps, ChartProps, Range } from "./Chart.types";
export declare const buildLayout: ({ legendPosition, xAxisType, yAxisType, xAxisRange, yAxisRange, ...props }: {
    type: ChartProps["type"];
    legendPosition?: ChartProps["legendPosition"];
    xAxisTitle?: string | undefined;
    xAxisType?: AxisType | undefined;
    xAxisFormat?: string | undefined;
    xAxisRange?: Range | undefined;
    yAxisTitle?: string | undefined;
    yAxisType?: AxisType | undefined;
    yAxisFormat?: string | undefined;
    yAxisRange?: Range | undefined;
    mode?: BarProps["mode"];
}) => Partial<Layout>;
