import { Chart, Types, G2Dependents } from './types';
import { customFormatterConfig } from './common';
export interface XAxisConfig extends customFormatterConfig {
    visible?: boolean;
    alias?: boolean;
    autoRotate?: boolean;
    rotate?: number;
    autoHide?: boolean;
    autoEllipsis?: boolean | 'head' | 'middle' | 'tail';
    label?: any;
    labelFormatter?: Types.AxisCfg['label']['formatter'];
    tickLine?: boolean | G2Dependents.AxisTickLineCfg;
    customConfig?: Types.AxisCfg;
    categories?: number[] | string[];
}
/**
 * rectXAxis 直角坐标系的X轴配置
 *
 * @param {this} ctx 组件实例 this 指针
 * @param {Chart} chart 图表实例
 * @param {Object} config 配置项
 * @param {Object} defaultConfig 组件的自定义配置
 * */
export default function <T>(ctx: T, chart: Chart, config: {
    grid?: boolean;
    xAxis?: (Types.ScaleOption & XAxisConfig) | false;
}, defaultConfig?: Types.AxisCfg): void;
