import { INotification } from '@magicbell/react-headless'; import React, { ComponentProps, Dispatch, SetStateAction } from 'react'; import { NotificationListItem } from '../NotificationList/NotificationList.js'; import Layout from './Layout.js'; import { NotificationsViewProps } from './private/NotificationsView.js'; export type NotificationInboxProps = { height?: number; onAllRead?: () => void; onNotificationClick?: (notification: INotification) => void | boolean; storeId?: string; EmptyInboxPlaceholder?: () => React.ReactElement; NotificationItem?: NotificationListItem; NotificationPreferences?: () => React.ReactElement; notificationPreferencesEnabled?: boolean; layout?: ComponentProps['order']; tabs?: NotificationsViewProps['tabs']; }; export type SetViewHandler = Dispatch>; /** * Component that renders all notifications as well as a header and a footer. * * @example * */ export default function NotificationInbox({ height, layout, tabs, ...props }: NotificationInboxProps): React.JSX.Element;