import { ChartStyle, EChartInstance, EChartSpec, IChartConfig, IChartHostRect, IChartInstance, IChartRenderModel, IChartRenderModelStylizeInit } from '../types';
import { Disposable } from '@univerjs/core';
export declare class EChartRenderModel extends Disposable implements IChartRenderModel {
    private _specConverters;
    private _specOperators;
    private _addWatermark;
    constructor(_addWatermark: boolean);
    updateWatermark(addWatermark: boolean): void;
    private _addSpecConverters;
    private _addSpecOperators;
    createChartInstance(): IChartInstance<EChartSpec>;
    toSpec(config: IChartConfig, style: ChartStyle): import('echarts').EChartsOption;
    stylizeSpec(spec: EChartSpec, stylizeInit: IChartRenderModelStylizeInit<EChartSpec>, rect: IChartHostRect): import('echarts').EChartsOption | {
        backgroundColor: string;
    };
}
export declare class EChartRenderEngine extends Disposable implements EChartInstance {
    static engineName: string;
    private _instance;
    container: HTMLElement | string;
    private _devicePixelRatio;
    constructor();
    getDevicePixelRatio(): 1 | 2 | undefined;
    mount(id: string | HTMLElement): void;
    resize(echartsProvider?: any): void;
    private _ensureChartInstance;
    get containerElement(): HTMLElement | null;
    render(spec: EChartSpec, echartsProvider?: any): void;
    exportImg(echartsProvider?: any): Promise<string>;
    onDispose(): void;
    dispose(): void;
}
