import { NotificationInstance } from 'rc-notification/lib/Notification';
import { ToastContainerProps } from './ToastContainer';
import './style/toast.css';
export declare type ToastOpts = Omit<ToastContainerProps, 'type'>;
export declare type ToastMethod = (message: string | ToastOpts) => {
    id: string;
};
export declare type ToastInterface = {
    notification: NotificationInstance;
    success: ToastMethod;
    warning: ToastMethod;
    info: ToastMethod;
    error: ToastMethod;
};
declare const toastApi: ToastInterface;
export default toastApi;
