/// <reference types="react" />
import { SCCommentsOrderBy, SCCommentType } from '../types/comment';
import { SCFeedObjectType, SCFeedObjectTypologyType } from '../types';
/**
 :::info
 This custom hooks is used to fetch paginated comments.
 :::
 * @param id
 * @param feedObject
 * @param feedObjectType
 * @param offset
 * @param pageSize
 * @param orderBy
 * @param parent
 */
export default function useSCFetchCommentObjects(props: {
    id?: number;
    feedObject?: SCFeedObjectType;
    feedObjectType: SCFeedObjectTypologyType;
    offset?: number;
    pageSize?: number;
    orderBy?: SCCommentsOrderBy;
    parent?: number;
    onChangePage?: (page: any) => any;
}): {
    feedObject: import("../types").SCFeedDiscussionType | SCFeedObjectType | import("../types").SCFeedPostType;
    setFeedObject: import("react").Dispatch<import("react").SetStateAction<import("../types").SCFeedDiscussionType | SCFeedObjectType | import("../types").SCFeedPostType>>;
    comments: SCCommentType[];
    setComments: import("react").Dispatch<import("react").SetStateAction<SCCommentType[]>>;
    isLoadingNext: boolean;
    isLoadingPrevious: boolean;
    next: string;
    previous: string;
    total: number;
    page: number;
    pageSize: number;
    getNextPage: () => void;
    getPreviousPage: () => void;
    orderBy: SCCommentsOrderBy;
    componentLoaded: boolean;
};
//# sourceMappingURL=useSCFetchCommentObjects.d.ts.map