import type { UseQueryOptions } from '@tanstack/react-query';
type MandatoryArgs = 'queryKey' | 'queryFn';
/**
 * useQuery params we do NOT want in our options.
 * <ResponseType> is the type of the Response received,
 * provide the generic to QueryOptions and nowhere else, it will be infered
 */
export type QueryOptions<ResponseType> = Omit<UseQueryOptions<ResponseType>, MandatoryArgs>;
export {};
