import { CSSProperties } from 'react';
import * as echarts from 'echarts';
import { MapSeriesOption } from 'echarts';
type ECOption = echarts.ComposeOption<MapSeriesOption>;
type Grid = {
    name: string;
    adcode: string | number;
    [key: string]: string | number;
};
export interface MapProps {
    service: (params: any) => Promise<any>;
    color?: Array<string>;
    options?: ECOption;
    conditions?: any;
    breadcrumbClassName?: any;
    lastLevel?: string;
    goDown?: boolean;
    roam?: boolean;
    isCarousel?: boolean;
    isKeepGrid?: boolean;
    searchKey?: string;
    loadingType?: any;
    style?: CSSProperties;
    toolbarloop: 'top5' | 'all';
    onDownCallBack?: (n: Grid, c?: string | number, o?: object) => void;
}
export declare function ChartsMap({ service, color, conditions, options, goDown, lastLevel, onDownCallBack, breadcrumbClassName, roam, isCarousel, style, searchKey, loadingType, isKeepGrid, toolbarloop }: MapProps): JSX.Element;
export declare function initMap(chart: any, customOptions: any, options: any): any;
export {};