import type { FetchInfiniteQueryOptions } from '@tanstack/svelte-query' import type { DistributiveOmit } from '../../utils/types' import type { ExtractCursorType } from '../internal/infinite-query' import type { EdenQueryBaseOptions } from '../internal/query-base-options' import type { EdenQueryKey } from '../internal/query-key' export type EdenFetchInfiniteQueryOptions = DistributiveOmit< FetchInfiniteQueryOptions>, 'queryKey' | 'initialPageParam' > & EdenQueryBaseOptions & { initialCursor?: ExtractCursorType }