import { clear, show, success, info, loading, fail, hide } from './methods'; import './index.less'; interface ToastInstance { show: typeof show; clear: typeof clear; success: typeof success; info: typeof info; loading: typeof loading; fail: typeof fail; error: typeof fail; hide: typeof hide; } declare const Toast: ToastInstance; export declare const useToast: () => ToastInstance; export default Toast;