import { FirestoreOrderByDirection } from 'typesaurus/adaptor'
export declare type InfiniteLoadMoreFunction = () => void
export declare type InfiniteLoadMoreState =
  | InfiniteLoadMoreFunction
  | undefined
  | null
export declare type InfiniteQueryOptions<Field> = {
  field: Field
  limit: number
  method?: FirestoreOrderByDirection
}
export declare type InfiniteCursorsState = {
  [cursorId: string]: 'loading' | 'loaded'
}
