import { AlignValue, TextBaselineValue, Config, FontWeightValue } from 'vega';
import { Field, NestField } from '../../data_tree';
import { RenderMetadata } from '../render-result-metadata';
import { ChartSizeConfig } from './resolve-chart-display';
type XAxisSettings = {
    labelAngle: number;
    labelAlign?: AlignValue;
    labelBaseline?: TextBaselineValue;
    labelLimit: number;
    minExtent: number;
    maxExtent: number;
    height: number;
    titleSize: number;
    titleBaseline: TextBaselineValue;
    titleY: number;
    hidden: boolean;
    labelPadding: number;
};
export declare function getXAxisSettings({ maxString, chartHeight, chartWidth, xField, parentField, vegaConfig, isSpark, }: {
    maxString: string;
    chartHeight: number;
    chartWidth: number;
    xField: Field;
    parentField: NestField;
    vegaConfig?: Config;
    isSpark: boolean;
}): XAxisSettings;
export type ChartLayoutSettings = {
    plotWidth: number;
    plotHeight: number;
    xAxis: {
        labelAngle: number;
        labelAlign?: AlignValue;
        labelBaseline?: TextBaselineValue;
        labelLimit: number;
        height: number;
        titleSize: number;
        titleY: number;
        hidden: boolean;
    };
    yAxis: {
        width: number;
        minExtent: number;
        maxExtent: number;
        tickCount?: number;
        hidden: boolean;
        yTitleSize: number;
        labelPadding: number;
        titlePadding: number;
        titleFont: string;
        titleFontSize: number;
        titleFontWeight?: FontWeightValue;
    };
    yScale: {
        domain: number[];
    };
    xField: Field;
    yField: Field;
    padding: {
        top: number;
        left: number;
        right: number;
        bottom: number;
    };
    totalWidth: number;
    totalHeight: number;
    isSpark: boolean;
};
export declare function getChartLayoutSettings(field: NestField, options: {
    size: ChartSizeConfig;
    metadata: RenderMetadata;
    xField?: Field;
    yField?: Field;
    chartType: string;
    getXMinMax?: () => [number, number];
    getYMinMax?: () => [number, number];
    independentY?: boolean;
    vegaConfig?: Config;
}): ChartLayoutSettings;
export {};
