import { QueryFilters } from '@tanstack/query-core';
import { QueryClient, QueryKey } from '@tanstack/react-query';
import { KeyFactory } from './KeyFactory';
/**
 * Invalidate all queries for the given entity. Table queries will be reset, i.e. the stale data will be removed from the cache.
 * @param queryClient
 * @param keyFactory
 * @param id the ID of the entity
 * @param excludeQueryKey do not invalidate queries exactly matching this query key (useful if you intend to call setQueryData)
 */
export declare function invalidateAllQueriesForEntity(queryClient: QueryClient, keyFactory: KeyFactory, id: string, excludeQueryKey?: QueryKey): Promise<void>;
/**
 * Invalidate all queries that retrieve the actions required to gain download access
 * @param queryClient
 * @param keyFactory
 */
export declare function getAllActionsRequiredQueryFilters(keyFactory: KeyFactory): QueryFilters[];
//# sourceMappingURL=QueryFilterUtils.d.ts.map