import { Tag } from '@malloydata/malloy-tag';
import { AlignValue, TextBaselineValue } from 'vega';
import { Field, NestField } from '../../data_tree';
import { RenderMetadata } from '../render-result-metadata';
type XAxisSettings = {
    labelAngle: number;
    labelAlign?: AlignValue;
    labelBaseline?: TextBaselineValue;
    labelLimit: number;
    height: number;
    titleSize: number;
    hidden: boolean;
};
export declare function getXAxisSettings({ maxString, chartHeight, chartWidth, xField, parentField, parentTag, }: {
    maxString: string;
    chartHeight: number;
    chartWidth: number;
    xField: Field;
    parentField: NestField;
    parentTag: Tag;
}): XAxisSettings;
export type ChartLayoutSettings = {
    plotWidth: number;
    plotHeight: number;
    xAxis: {
        labelAngle: number;
        labelAlign?: AlignValue;
        labelBaseline?: TextBaselineValue;
        labelLimit: number;
        height: number;
        titleSize: number;
        hidden: boolean;
    };
    yAxis: {
        width: number;
        tickCount?: number;
        hidden: boolean;
        yTitleSize: number;
    };
    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, chartTag: Tag, options: {
    metadata: RenderMetadata;
    xField?: Field;
    yField?: Field;
    chartType: string;
    getXMinMax?: () => [number, number];
    getYMinMax?: () => [number, number];
    independentY?: boolean;
}): ChartLayoutSettings;
export {};
