import * as React from 'react'; import '@vtmn/css-toast/dist/index-with-vars.css'; export interface VtmnToastProps extends Omit, 'onClose'> { /** * The toast's content */ content: string; /** * Whether there is an info icon */ withIcon?: boolean; /** * Whether there is a close button */ withCloseButton?: boolean; /** * Duration of the toast in ms */ timeout?: number; /** * The alert callback close function * @type {function} */ onClose?: (event: React.MouseEvent | undefined) => void; } export declare const VtmnToast: ({ content, withIcon, withCloseButton, onClose, className, timeout, }: VtmnToastProps) => JSX.Element; declare const MemoVtmnToast: React.MemoExoticComponent<({ content, withIcon, withCloseButton, onClose, className, timeout, }: VtmnToastProps) => JSX.Element>; export default MemoVtmnToast;