import { QueryKey } from '@tanstack/react-query';
import type { ICache, ICachePage } from '../..';
export interface IListActivitiesArgs {
    queryFn: (_: unknown) => Promise<ICachePage>;
    queryKey: QueryKey;
    filterOption?: {
        id: string;
        type: string;
    };
}
export declare function useListActivities({ queryFn, queryKey, filterOption, }: IListActivitiesArgs): {
    activities: import('../../../../../../discussion/shared').IActivity[];
    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>>;
};
