import { VoidFunc } from "../../../../fd-toolbox/functions/internal-getter-setter-functions";
import { FeedEntry } from "../../../common/resources/feed-entry.resource";
export declare function initFeed(setFeedEntries: VoidFunc<FeedEntry[]>, setComments: VoidFunc<string[]>, pageSize: number, setIsFetching: VoidFunc<boolean>): Promise<void>;
export declare function fetchNextFeedEntries(fetchSize: number, currentLength: number): Promise<any>;
export declare function fetchFeedMoreEntries(hasMore: boolean, fdFeedEntries: FeedEntry[], postsPerFetch: number, setFeedEntries: VoidFunc<FeedEntry[]>, setHasMore: VoidFunc<boolean>): Promise<void>;
export declare function createFeedIntersectionObserver(isFetching: boolean, setIsFetching: VoidFunc<boolean>, hasMore: boolean, fdFeedEntries: FeedEntry[], postsPerFetch: number, setFeedEntries: VoidFunc<FeedEntry[]>, setHasMore: VoidFunc<boolean>): IntersectionObserver;
export declare function observerFeed(hasMore: boolean, isFetching: boolean, setIsFetching: React.Dispatch<React.SetStateAction<boolean>>, fdFeedEntries: FeedEntry[], postsPerFetch: number, setFeedEntries: React.Dispatch<React.SetStateAction<FeedEntry[]>>, setHasMore: React.Dispatch<React.SetStateAction<boolean>>, observerRef?: HTMLDivElement): any;
