import type { TAppNotificationValuesUnexpectedError } from '@commercetools-frontend/constants'; /** * Dispatch an unexpected error notification. * * @example * const showUnexpectedErrorNotification = useShowUnexpectedErrorNotification(); * showUnexpectedErrorNotification({ errors }); */ export default function useShowUnexpectedErrorNotification(): (options: TAppNotificationValuesUnexpectedError) => import("@commercetools-frontend/notifications").TAddNotificationAction;