import * as React from 'react'; import { ArgsProps } from 'antd/lib/notification'; declare type NotificationOptions = Options & { type?: NotificationType; title?: React.ReactNode; description: React.ReactNode; }; export declare enum NotificationType { SUCCESS = "success", ERROR = "error", INFO = "info", WARNING = "warning" } declare const notifications: { show({ title, description, type, ...restOptions }: NotificationOptions): void; closeAll: () => void; close: (key: string) => void; }; export { notifications };