import React from 'react';
import { IAction } from '@opensumi/ide-core-common';
import { CancelablePromise } from '@opensumi/ide-utils';
import { MessageType } from '../common';
import './notification.less';
export declare const notification: import("./notification").NotificationApi;
export declare function open<T = string>(message: string | React.ReactNode, type: MessageType, closable: boolean | undefined, key: string, buttons?: Array<string | IAction>, description?: string | React.ReactNode, duration?: number, onClose?: () => void): CancelablePromise<T | undefined> | undefined;
export declare function close(key: string): void;
export declare function update(key: string, message: string | React.ReactNode): void;
//# sourceMappingURL=index.d.ts.map