import { QueryKey, Query, DefaultedQueryObserverOptions, QueryObserverResult, QueryObserver } from '@tanstack/query-core'; import { QueryErrorResetBoundaryValue } from './QueryErrorResetBoundary.js'; import 'react/jsx-runtime'; import 'react'; declare const defaultThrowOnError: (_error: TError, query: Query) => boolean; declare const ensureSuspenseTimers: (defaultedOptions: DefaultedQueryObserverOptions) => void; declare const willFetch: (result: QueryObserverResult, isRestoring: boolean) => boolean; declare const shouldSuspend: (defaultedOptions: DefaultedQueryObserverOptions | undefined, result: QueryObserverResult) => boolean | undefined; declare const fetchOptimistic: (defaultedOptions: DefaultedQueryObserverOptions, observer: QueryObserver, errorResetBoundary: QueryErrorResetBoundaryValue) => Promise>; export { defaultThrowOnError, ensureSuspenseTimers, fetchOptimistic, shouldSuspend, willFetch };