import type { UseQueryOptions, UseMutationOptions, QueryKey, MutationKey, UseInfiniteQueryOptions, InfiniteData, DefaultError } from "@tanstack/react-query"; import type { PageParam } from "./pagination"; interface UseQueryOptionsWithKey extends Omit, "queryKey"> { queryKey: QueryKey; } export type FunctionlessUseQueryOptions = Omit, "queryFn">; interface UseMutationOptionsWithKey extends Omit, "mutationKey"> { mutationKey: MutationKey; } export type FunctionlessUseMutationOptions = Omit, "mutationFn">; export type FunctionInitialPageParamlessUseInfiniteQueryOptions = Omit, T, QueryKey | MutationKey, PageParam>, "queryFn" | "initialPageParam">; export {};