import React from 'react'; import { Message, MessageProps, MessageConfig, MessageResult } from '@autobest-ui/components'; export declare type NotificationPlacement = 'topLeft' | 'top' | 'topRight' | 'center' | 'bottomRight' | 'bottom' | 'bottomLeft'; export declare type NotificationConfig = MessageConfig & { placement?: NotificationPlacement; }; export declare type NotificationOptions = Omit; export declare type NotificationResult = MessageResult; export declare class Notification { prefixCls: string; messageInstance: Message; constructor(config?: NotificationConfig & { prefixCls?: string; }); setConfig: (config: NotificationConfig) => void; open: (options: MessageProps) => NotificationResult; error: (tip: React.ReactChild, options?: NotificationOptions) => NotificationResult; warn: (tip: React.ReactChild, options?: NotificationOptions) => NotificationResult; info: (tip: React.ReactChild, options?: NotificationOptions) => NotificationResult; } declare const notification: Notification; export default notification;