import * as React from 'react'; import { ReactNode } from 'react'; import { Notification } from '@novu/js'; import { NotificationItemHandlers } from '@novu/js/ui-core'; type NotificationItemRenderers = { renderAvatar?: (notification: Notification) => ReactNode; renderSubject?: (notification: Notification) => ReactNode; renderBody?: (notification: Notification) => ReactNode; renderDefaultActions?: (notification: Notification) => ReactNode; renderCustomActions?: (notification: Notification) => ReactNode; }; type NotificationItemContextValue = { notification: Notification; handlers: NotificationItemHandlers; renderers: NotificationItemRenderers; }; declare const NotificationItemProvider: React.Provider; declare const useNotificationItem: (part: string) => NotificationItemContextValue; declare const NotificationHandlersProvider: React.Provider; declare const useInheritedNotificationHandlers: () => NotificationItemHandlers; export { NotificationHandlersProvider, NotificationItemProvider, useInheritedNotificationHandlers, useNotificationItem }; export type { NotificationItemContextValue, NotificationItemRenderers };