import { CanvasTouchEventFunction } from '@tarojs/components';
import type { ECharts } from 'echarts';
/**
 * @public
 */
export interface IEChartsCanvasProps {
    /**
     * echarts 实例
     */
    echarts: any;
    /**
     * 初始化回调
     */
    ec: {
        onInit: (canvas: any, width: number, height: number, dpr: number) => ECharts;
        lazyLoad?: boolean;
        disableTouch?: CanvasTouchEventFunction;
    };
    /**
     * @default ec-canvas
     */
    canvasId?: string;
    /**
     * @default false
     */
    forceUseOldCanvas?: boolean;
}
/**
 * @public
 */
declare const _default: (props: IEChartsCanvasProps) => import("react/jsx-runtime").JSX.Element;
export default _default;
//# sourceMappingURL=index.d.ts.map