import { IDisposable, Disposable } from '@univerjs/core';
import { ISheetLocation } from '@univerjs/sheets';
import { IRenderManagerService } from '@univerjs/engine-render';
import { SheetCanvasPopManagerService } from './canvas-pop-manager.service';
export declare enum CellAlertType {
    INFO = 0,
    WARNING = 1,
    ERROR = 2
}
export interface ICellAlert {
    type: CellAlertType;
    title: React.ReactNode;
    message: React.ReactNode;
    location: ISheetLocation;
    width: number;
    height: number;
    key: string;
}
export declare class CellAlertManagerService extends Disposable {
    private readonly _renderManagerService;
    private readonly _canvasPopManagerService;
    private _currentAlert$;
    private _currentAlert;
    get currentAlert(): Map<string, {
        alert: ICellAlert;
        dispose: IDisposable;
    }>;
    currentAlert$: import('rxjs').Observable<[string, {
        alert: ICellAlert;
        dispose: IDisposable;
    }][]>;
    constructor(_renderManagerService: IRenderManagerService, _canvasPopManagerService: SheetCanvasPopManagerService);
    showAlert(alert: ICellAlert): void;
    removeAlert(key: string): void;
    clearAlert(): void;
}
