import { type OnDismissCallback, type ToastContextValue, type ToastId, type ToastType } from './Toast.types'; interface UseToastContextValuesReturns extends ToastContextValue { leftToasts: ToastType[]; rightToasts: ToastType[]; dismiss: (id: ToastId, callback?: OnDismissCallback) => void; } /** * NOTE(@sol): The ToastService is enough to fulfill the responsibility of toast. * However, wrapping this for ToastProvider to create new features does not need to be done in bezier-react. * It would have been better to implement this function in service needed it of use. * Therefore, it would be good to pay attention to this part in a future update. */ /** * @deprecated Implement this in your service with ToastProvider, not here. */ declare function useToastContextValues(): UseToastContextValuesReturns; export default useToastContextValues; //# sourceMappingURL=useToastContextValues.d.ts.map