import React from 'react'; interface ToastPropsOnly { centered?: boolean; duration?: number; afterClosed?: () => void; } export interface ToastProps extends React.HTMLAttributes, ToastPropsOnly { } declare const Toast: { (props: ToastProps): import("react/jsx-runtime").JSX.Element; infoTop(info: string, options?: ToastPropsOnly): () => void; info(info: string, options?: ToastPropsOnly): () => void; }; export default Toast;