import { ChartModel } from '@univerjs-pro/engine-chart';
import { Nullable, Disposable, Injector } from '@univerjs/core';
import { EmbeddedChartManagerService } from './embedded-chart-manager.service';
export declare class EmbeddedChartModelService extends Disposable {
    private _injector;
    private _chartManagerService;
    private readonly _activeChartModel$;
    readonly activeChartModel$: import('rxjs').Observable<Nullable<ChartModel>>;
    get activeChartModel(): Nullable<ChartModel>;
    private _models;
    private _modelIdToUnitId;
    private _pendingModels;
    private readonly _chartModelAdded$;
    readonly chartModelAdded$: import('rxjs').Observable<ChartModel>;
    private readonly _chartModelRemoved$;
    readonly chartModelRemoved$: import('rxjs').Observable<string>;
    constructor(_injector: Injector, _chartManagerService: EmbeddedChartManagerService);
    setActiveChartModel(chartModel: ChartModel | null): void;
    getActiveChartModel(): Nullable<ChartModel>;
    getChartModel(unitId: string, chartId: string): Promise<ChartModel | undefined>;
    createChartModel(unitId: string, chartId: string): Promise<ChartModel>;
    saveChartModel(chartId: string): Promise<void>;
    removeChartModel(id: string): void;
    dispose(): void;
}
