import { QueryKey } from '@tanstack/react-query';
import type { ICache, ICachePage } from '../..';
export interface IListRepliesArgs {
    queryFn: (_: unknown) => Promise<ICachePage>;
    queryKey: QueryKey;
}
export declare function useListReplies({ queryFn, queryKey }: IListRepliesArgs): {
    replies: import('../../../../../../discussion/shared').IReaction[];
    error: Error | null;
    isLoading: boolean;
    hasNextPage: boolean;
    fetchNextPage: (options?: import("@tanstack/query-core/build/legacy/queryClient-13f81fcb").a2 | undefined) => Promise<import("@tanstack/query-core/build/legacy/queryClient-13f81fcb").aj<ICache, Error>>;
};
