import { DefaultError, QueryObserverResult, DefinedQueryObserverResult, QueryKey, OmitKeyof, QueryObserverOptions, SkipToken, DistributiveOmit, InfiniteQueryObserverOptions, DefinedInfiniteQueryObserverResult, MutationObserverOptions, Override, MutationObserverResult, MutateFunction, InfiniteQueryObserverResult } from '@tanstack/query-core'; type AnyUseBaseQueryOptions = UseBaseQueryOptions; interface UseBaseQueryOptions extends QueryObserverOptions { /** * Set this to `false` to unsubscribe this observer from updates to the query cache. * Defaults to `true`. */ subscribed?: boolean; } type AnyUseQueryOptions = UseQueryOptions; interface UseQueryOptions extends OmitKeyof, 'suspense'> { } type AnyUseSuspenseQueryOptions = UseSuspenseQueryOptions; interface UseSuspenseQueryOptions extends OmitKeyof, 'queryFn' | 'enabled' | 'throwOnError' | 'placeholderData'> { queryFn?: Exclude['queryFn'], SkipToken>; } type AnyUseInfiniteQueryOptions = UseInfiniteQueryOptions; interface UseInfiniteQueryOptions extends OmitKeyof, 'suspense'> { /** * Set this to `false` to unsubscribe this observer from updates to the query cache. * Defaults to `true`. */ subscribed?: boolean; } type AnyUseSuspenseInfiniteQueryOptions = UseSuspenseInfiniteQueryOptions; interface UseSuspenseInfiniteQueryOptions extends OmitKeyof, 'queryFn' | 'enabled' | 'throwOnError' | 'placeholderData'> { queryFn?: Exclude['queryFn'], SkipToken>; } type UseBaseQueryResult = QueryObserverResult; type UseQueryResult = UseBaseQueryResult; type UseSuspenseQueryResult = DistributiveOmit, 'isPlaceholderData' | 'promise'>; type DefinedUseQueryResult = DefinedQueryObserverResult; type UseInfiniteQueryResult = InfiniteQueryObserverResult; type DefinedUseInfiniteQueryResult = DefinedInfiniteQueryObserverResult; type UseSuspenseInfiniteQueryResult = OmitKeyof, 'isPlaceholderData' | 'promise'>; type AnyUseMutationOptions = UseMutationOptions; interface UseMutationOptions extends OmitKeyof, '_defaulted'> { } type UseMutateFunction = (...args: Parameters>) => void; type UseMutateAsyncFunction = MutateFunction; type UseBaseMutationResult = Override, { mutate: UseMutateFunction; }> & { mutateAsync: UseMutateAsyncFunction; }; type UseMutationResult = UseBaseMutationResult; export type { AnyUseBaseQueryOptions, AnyUseInfiniteQueryOptions, AnyUseMutationOptions, AnyUseQueryOptions, AnyUseSuspenseInfiniteQueryOptions, AnyUseSuspenseQueryOptions, DefinedUseInfiniteQueryResult, DefinedUseQueryResult, UseBaseMutationResult, UseBaseQueryOptions, UseBaseQueryResult, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutateAsyncFunction, UseMutateFunction, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, UseSuspenseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult };