import{createContext as r,useContext as a}from"react";const o=e=>()=>{throw new Error("TOAST_PROVIDER_REQUIRED",{cause:`Before calling \`${e}\`, wrap your application with \`<ToastProvider>\`.`})},t=r({createToast:o("createToast"),removeToast:o("removeToast")});function s(){return a(t)}export{t as ToastContext,s as useToast};
//# sourceMappingURL=useToast.js.map
