import { FC } from 'react'; declare type IToastStatus = 'fail' | 'loading' | 'success'; interface IToastState { text: string; icon: string; mask: boolean; status?: IToastStatus; visible?: boolean; } interface IToastEventOptions extends Omit { type: 'open' | 'loading' | 'fail' | 'success' | 'info' | 'clear' | 'setData'; duration?: number; } interface IToastProps { className?: string; } declare const open: (option?: Partial> | undefined) => void; declare const info: (option?: Partial> | undefined) => void; declare const success: (option?: Partial> | undefined) => void; declare const fail: (option?: Partial> | undefined) => void; declare const loading: (option?: Partial> | undefined) => void; declare const clear: () => void; declare const setData: (option?: Partial> | undefined) => void; declare const Toast: FC & { open: typeof open; } & { info: typeof info; } & { success: typeof success; } & { fail: typeof fail; } & { loading: typeof loading; } & { clear: typeof clear; } & { setData: typeof setData; }; export default Toast;