import { useContext } from 'react';
import { ToastContext } from './ToastContext';
export var useToast = function useToast() {
    var _useContext = useContext(ToastContext), showToast = _useContext.showToast, hideToast = _useContext.hideToast;
    return {
        showToast: showToast,
        hideToast: hideToast
    };
};
