import React from 'react'; declare type icon = string | React.ReactNode; export interface ToastProps { className?: string; /** 提示文案 */ text: string | React.ReactNode; /** 图标 */ icon?: icon; /** 自动关闭延迟时间,如果为0则不自动关闭,可使用toast.hideToast()进行主动关闭 */ delay?: number; /** 是否需要遮罩层 */ mask?: boolean; /** 是否不换行 */ nowrap?: boolean; } export declare const Toast: React.FC; export default Toast;