import type { EChartsType } from 'echarts';
import type { EChartsReactProps } from 'echarts-for-react';
import { GeoComponentOption } from 'echarts/components';
import React from 'react';
export declare const DEFAULT_TRANSITION_DURATION = 300;
/**
 * @public
 */
export interface BfBuMapInstance {
    /**
     * 内部echarts实例
     */
    echartsInstance: EChartsType | undefined;
    /**
     * 返回上一级地图
     * @returns
     */
    backToUpperLevel: () => void;
}
/**
 * @public
 */
export interface BfBuMapProps {
    /**
     * 是否禁用点击地图下钻
     * @default false
     */
    goDownDisabled?: boolean;
    /**
     * bu地图内置的geo属性
     */
    geoOption?: Partial<Omit<GeoComponentOption, 'map'>>;
    /**
     * 地图层级变动时的回调
     * @param type - up: 上一级, down: 下一级
     * @param mapName - 地图名称
     * @returns
     */
    onMapLevelChange?: (type: 'up' | 'down', mapName: string) => void;
}
declare const _default: React.ForwardRefExoticComponent<BfBuMapProps & Partial<EChartsReactProps> & React.RefAttributes<BfBuMapInstance>>;
export default _default;
//# sourceMappingURL=index.d.ts.map