export type FilterFn = (rootValue?: TSource, args?: TArgs, context?: TContext, info?: any) => boolean | Promise; export type ResolverFn = (rootValue?: TSource, args?: TArgs, context?: TContext, info?: any) => AsyncIterator | Promise>; export type IterableResolverFn = (rootValue?: TSource, args?: TArgs, context?: TContext, info?: any) => AsyncIterableIterator | Promise>; export type WithFilter = (asyncIteratorFn: ResolverFn, filterFn: FilterFn) => IterableResolverFn; export declare function withFilter(asyncIteratorFn: ResolverFn, filterFn: FilterFn): IterableResolverFn;