import BrushController from '../../helper/BrushController.js';
import * as history from '../../dataZoom/history.js';
import { ToolboxFeature, ToolboxFeatureModel, ToolboxFeatureOption } from '../featureManager.js';
import GlobalModel from '../../../model/Global.js';
import ExtensionAPI from '../../../core/ExtensionAPI.js';
import { Payload, ItemStyleOption } from '../../../util/types.js';
import { ModelFinderIndexQuery, ModelFinderIdQuery } from '../../../util/model.js';
declare const ICON_TYPES: readonly ["zoom", "back"];
declare type IconType = typeof ICON_TYPES[number];
export interface ToolboxDataZoomFeatureOption extends ToolboxFeatureOption {
    type?: IconType[];
    icon?: {
        [key in IconType]?: string;
    };
    title?: {
        [key in IconType]?: string;
    };
    filterMode?: 'filter' | 'weakFilter' | 'empty' | 'none';
    xAxisIndex?: ModelFinderIndexQuery;
    yAxisIndex?: ModelFinderIndexQuery;
    xAxisId?: ModelFinderIdQuery;
    yAxisId?: ModelFinderIdQuery;
    brushStyle?: ItemStyleOption;
}
declare type ToolboxDataZoomFeatureModel = ToolboxFeatureModel<ToolboxDataZoomFeatureOption>;
declare class DataZoomFeature extends ToolboxFeature<ToolboxDataZoomFeatureOption> {
    _brushController: BrushController;
    _isZoomActive: boolean;
    render(featureModel: ToolboxDataZoomFeatureModel, ecModel: GlobalModel, api: ExtensionAPI, payload: Payload): void;
    onclick(ecModel: GlobalModel, api: ExtensionAPI, type: IconType): void;
    dispose(ecModel: GlobalModel, api: ExtensionAPI): void;
    private _onBrush;
    _dispatchZoomAction(snapshot: history.DataZoomStoreSnapshot): void;
    static getDefaultOption(ecModel: GlobalModel): ToolboxDataZoomFeatureOption;
}
export default DataZoomFeature;
