/// <reference types="react" />
import { AxisLabelsSection as AxisLabelsSectionType } from '../../../../shared-logic/src/FormatPanelConfig/types';
import { VizzlyComponents } from '../../types';
declare type AxisKey = 'x' | 'y' | 'yDual';
declare type AxisFieldReference = {
    field: string;
    function?: string;
};
declare type AxisPreferenceAttributes = {
    type: string;
    dimension?: AxisFieldReference[];
    measure?: AxisFieldReference[];
    barMeasure?: AxisFieldReference[];
    lineMeasure?: AxisFieldReference[];
    stacked?: boolean | '100%';
    timeDimension?: unknown | null;
    approxXAxisLabelCount?: number | 'auto' | 'all70' | 'all90';
    approxYAxisLabelCount?: number | 'auto';
    approxDualYAxisLabelCount?: number | 'auto';
    xAxisPrefix?: string;
    xAxisPostfix?: string;
    yAxisPrefix?: string;
    yAxisPostfix?: string;
    yDualAxisPrefix?: string;
    yDualAxisPostfix?: string;
    xAxisFormat?: string | null;
    yAxisFormat?: string | null;
    yDualAxisFormat?: string | null;
    axisTitles?: Partial<Record<AxisKey, string>>;
    isDualAxisEnabled?: boolean;
    xAxisMin?: number | null;
    xAxisMax?: number | null;
    yAxisMin?: number | null;
    yAxisMax?: number | null;
    yDualAxisMin?: number | null;
    yDualAxisMax?: number | null;
};
declare type AxisValues = {
    yAxisPrefix?: string;
    yAxisPostfix?: string;
    xAxisPrefix?: string;
    xAxisPostfix?: string;
};
declare type Props<Attributes extends AxisPreferenceAttributes> = VizzlyComponents.ComponentOverrides.Props.SectionProps<AxisLabelsSectionType> & VizzlyComponents.EditorSectionProps<Attributes>;
export declare function AxisPreferenceSection<Attributes extends AxisPreferenceAttributes>(props: Props<Attributes> & AxisValues & {
    horizontal?: boolean;
}): JSX.Element;
export {};
