import * as React from 'react';
import './Notification.scss';
import { removeNotification } from 'actions';
export declare enum NotificationType {
    Success = "success",
    Info = "info",
    Warning = "warning",
    Error = "error"
}
export interface NotificationProps {
    timeout?: number;
    type?: NotificationType;
    requireUserCancellation?: boolean;
    content: React.ReactNode;
    id?: string;
    posId?: number;
    key: string;
    removeNotification: removeNotification;
    onClose?: () => void;
}
export declare class NotificationBase extends React.Component<NotificationProps> {
    intervalId: any;
    static defaultProps: {
        timeout: number;
    };
    componentWillMount(): void;
    componentWillUnmount(): void;
    render(): JSX.Element;
    private disappear;
}
export declare const Notification: any;
