import { NotificationRenderer, AvatarRenderer, SubjectRenderer, BodyRenderer, DefaultActionsRenderer, CustomActionsRenderer, NotificationClickHandler, NotificationActionClickHandler } from '@novu/js/ui'; import { NotificationsRenderer, AvatarRenderer as AvatarRenderer$1, SubjectRenderer as SubjectRenderer$1, BodyRenderer as BodyRenderer$1, DefaultActionsRenderer as DefaultActionsRenderer$1, CustomActionsRenderer as CustomActionsRenderer$1 } from '../../utils/types.cjs'; import '@novu/js'; import 'react'; type NotificationRenderProps = { onNotificationClick?: NotificationClickHandler; onPrimaryActionClick?: NotificationActionClickHandler; onSecondaryActionClick?: NotificationActionClickHandler; renderNotification?: NotificationsRenderer; renderAvatar?: AvatarRenderer$1; renderSubject?: SubjectRenderer$1; renderBody?: BodyRenderer$1; renderDefaultActions?: DefaultActionsRenderer$1; renderCustomActions?: CustomActionsRenderer$1; }; type NotificationOutlets = { renderNotification: NotificationRenderer; } | { renderAvatar?: AvatarRenderer; renderSubject?: SubjectRenderer; renderBody?: BodyRenderer; renderDefaultActions?: DefaultActionsRenderer; renderCustomActions?: CustomActionsRenderer; }; /** * Adapts the notification render props shared by `Inbox`, `Notifications` and `InboxContent` into engine outlets. * `renderNotification` wins over the part renderers, exactly as the engine's prop types demand. Whatever it * renders sees the component's click handlers, so a `NotificationItem` inside it inherits them. */ declare function useNotificationOutlets(props: NotificationRenderProps): NotificationOutlets; export { useNotificationOutlets }; export type { NotificationOutlets };