import { QueryKey } from '@tanstack/react-query';
import type { ICache } from '../..';
export interface IReadActivityArgs {
    queryFn: (_: unknown) => Promise<ICache>;
    queryKey: QueryKey;
}
export declare function useReadActivity({ queryFn, queryKey }: IReadActivityArgs): {
    activity: import("../../../../..").IActivity | undefined;
    error: Error | null;
    isLoading: boolean;
    isFetching: boolean;
};
