import { ConfigService } from '@univerjs/core';
import { HTTPService } from '@univerjs/network';
export interface IEmbeddedChartSourceManagerService {
    fetchChartItem: (unitId: string, chartId: string) => Promise<any>;
    fetchChartItemList: (unitId: string) => Promise<any[]>;
    updateChartItem: (unitId: string, chartId: string, newContent: string) => Promise<string>;
}
export declare const IEmbeddedChartSourceManagerService: import('@wendellhu/redi').IdentifierDecorator<IEmbeddedChartSourceManagerService>;
export declare class EmbeddedChartSourceManagerService implements IEmbeddedChartSourceManagerService {
    private readonly _httpService;
    private readonly _configService;
    constructor(_httpService: HTTPService, _configService: ConfigService);
    get baseUrl(): string;
    fetchChartItem(envId: string, chartId: string): Promise<any>;
    fetchChartItemList(unitId: string): Promise<any>;
    updateChartItem(unitId: string, chartId: string, newContent: string): Promise<string>;
}
