import { NotificationItemDotProps } from './parts/Dot.js'; import { NotificationItemDateProps } from './parts/Date.js'; import { NotificationItemSubjectProps, NotificationItemBodyProps } from './parts/Subject.js'; import { NotificationItemContentProps, NotificationItemTextProps } from './parts/Content.js'; import { NotificationItemAvatarProps } from './parts/Avatar.js'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { Notification } from '@novu/js'; import { NotificationClickHandler, NotificationActionClickHandler } from '@novu/js/ui'; import { ReactNode } from 'react'; type NotificationItemProps = { notification: Notification; /** Your own arrangement of the parts. Without it, the built-in arrangement is rendered. */ children?: ReactNode; className?: string; onNotificationClick?: NotificationClickHandler; onPrimaryActionClick?: NotificationActionClickHandler; onSecondaryActionClick?: NotificationActionClickHandler; renderAvatar?: (notification: Notification) => ReactNode; renderSubject?: (notification: Notification) => ReactNode; renderBody?: (notification: Notification) => ReactNode; renderDefaultActions?: (notification: Notification) => ReactNode; renderCustomActions?: (notification: Notification) => ReactNode; }; declare const NotificationItem: { (props: NotificationItemProps): react_jsx_runtime.JSX.Element; displayName: string; } & { Avatar: ({ className }: NotificationItemAvatarProps) => react_jsx_runtime.JSX.Element; Content: ({ className, children }: NotificationItemContentProps) => react_jsx_runtime.JSX.Element; Text: ({ className, children }: NotificationItemTextProps) => react_jsx_runtime.JSX.Element; Subject: ({ className, children }: NotificationItemSubjectProps) => react_jsx_runtime.JSX.Element | null; Body: ({ className, children }: NotificationItemBodyProps) => react_jsx_runtime.JSX.Element; DefaultActions: () => react_jsx_runtime.JSX.Element; CustomActions: () => react_jsx_runtime.JSX.Element; Date: ({ className, children }: NotificationItemDateProps) => react_jsx_runtime.JSX.Element; Dot: ({ className }: NotificationItemDotProps) => react_jsx_runtime.JSX.Element; }; export { NotificationItem }; export type { NotificationItemProps };