import { FeedItem } from "@knocklabs/client"; import React, { ReactElement, ReactNode } from "react"; import { FilterStatus } from "../../constants"; import { NotificationFeedHeaderProps } from "./NotificationFeedHeader"; import "./styles.css"; export declare type OnNotificationClick = (item: FeedItem) => void; export declare type RenderItem = ({ item }: RenderItemProps) => ReactNode; export declare type RenderItemProps = { item: FeedItem; onItemClick?: OnNotificationClick; }; export interface NotificationFeedProps { EmptyComponent?: ReactNode; /** * @deprecated Use `renderHeader` instead to accept `NotificationFeedHeaderProps` */ header?: ReactElement; renderItem?: RenderItem; renderHeader?: (props: NotificationFeedHeaderProps) => ReactNode; onNotificationClick?: OnNotificationClick; onMarkAllAsReadClick?: (e: React.MouseEvent, unreadItems: FeedItem[]) => void; initialFilterStatus?: FilterStatus; } export declare const NotificationFeed: React.FC; //# sourceMappingURL=NotificationFeed.d.ts.map