import { ReactInstance } from 'react';
import { ConfigProps } from '.';
import { NotificationProps } from './interface';
declare type hookNotificationFunc = (config: NotificationProps) => ReactInstance;
export declare type notificationFuncType = {
    info?: hookNotificationFunc;
    success?: hookNotificationFunc;
    warning?: hookNotificationFunc;
    error?: hookNotificationFunc;
    normal?: hookNotificationFunc;
};
declare function useNotification(commonConfig?: ConfigProps): [notificationFuncType, JSX.Element];
export default useNotification;
