import type { UseQueryResult } from '@tanstack/react-query'; import type { EcosystemApiError } from '../../../lib/seam/ecosystem/client.js'; export type UseEcosystemQueryResult = Omit, 'data'> & { [key in Field]?: Data; }; /** Retry server and network errors, but not client errors such as an invalid embed key. */ export declare const retryEcosystemQuery: (failureCount: number, error: EcosystemApiError) => boolean;