/// import { UR } from 'getstream'; import { LoadingIndicatorProps } from 'react-file-utils'; import { ActivityProps } from './Activity'; import { NewActivitiesNotificationProps } from './NewActivitiesNotification'; import { LoadMorePaginatorProps } from './LoadMorePaginator'; import { FeedPlaceholderProps } from './FeedPlaceholder'; import { ElementOrComponentOrLiteralType } from '../utils'; import { DefaultAT, DefaultUT, FeedManagerProps, FeedProps } from '../context'; declare type FlatFeedInnerProps = { /** The component used to render an activity in the feed * #Activity (Component)# */ Activity: ElementOrComponentOrLiteralType>; /** Component to show when the feed is refreshing * #LoadingIndicator (Component)# */ LoadingIndicator: ElementOrComponentOrLiteralType; /** The component to use to render new activities notification * #Notifier (NewActivitiesNotification Component)# */ Notifier: ElementOrComponentOrLiteralType; /** By default pagination is done with a "Load more" button, you can use * [InfiniteScrollPaginator](/components/infinite-scroll) to enable infinite scrolling * #LoadMorePaginator (Component)# */ Paginator: ElementOrComponentOrLiteralType; /** Component to show when there are no activities in the feed * #FeedPlaceholder (Component)# */ Placeholder: ElementOrComponentOrLiteralType; /** Read options for the API client (eg. limit, ranking, ...) */ options?: FeedProps['options']; }; export declare type FlatFeedProps = Partial> & Pick, 'analyticsLocation' | 'doActivityDeleteRequest' | 'doChildReactionAddRequest' | 'doChildReactionDeleteRequest' | 'doFeedRequest' | 'doReactionAddRequest' | 'doReactionDeleteRequest' | 'doReactionsFilterRequest' | 'feedGroup' | 'notify' | 'userId'>; /** * Renders a feed of activities, this component is a StreamApp consumer * and must always be a child of the `` element */ export declare const FlatFeed: ({ userId, options, analyticsLocation, doFeedRequest, doActivityDeleteRequest, doChildReactionAddRequest, doChildReactionDeleteRequest, doReactionAddRequest, doReactionDeleteRequest, doReactionsFilterRequest, feedGroup, notify, Activity, Notifier, Placeholder, Paginator, LoadingIndicator, }: FlatFeedProps) => JSX.Element; export {}; //# sourceMappingURL=FlatFeed.d.ts.map