import type { CollectionProp, QueryParams } from '../common-types'; type IterableFn

= (params: P) => Promise>; type ParamsType = T extends (params: infer P) => any ? P : never; export declare const asIterator:

>(fn: F, params: ParamsType) => AsyncIterable; export {};