import { CubeNotificationProps } from '../components/overlays/Notification/Notification';
export interface NotificationData {
    id: number;
    type?: CubeNotificationProps['type'];
    message?: string;
}
export interface NotificationService {
    root: Element | null;
    defaultOptions: {
        duration: number;
    };
    items: NotificationData[];
    init: () => void;
    render: () => void;
    _render: (items?: NotificationData[]) => void;
    show: (type: CubeNotificationProps['type'], message: string, options?: CubeNotificationOptions) => void;
    close: (number: any) => void;
    success: (message: string, options?: CubeNotificationOptions) => void;
    info: (message: string, options?: CubeNotificationOptions) => void;
    danger: (message: string, options?: CubeNotificationOptions) => void;
}
export interface CubeNotificationOptions {
    duration?: number;
}
/**
 * @deprecated consider using `useNotificationsApi` instead
 */
export declare const notification: NotificationService;
