export declare type FilterFn = (rootValue?: any, args?: any, context?: any, info?: any) => boolean | Promise; export declare type ResolverFn = (rootValue?: any, args?: any, context?: any, info?: any) => AsyncIterator; export declare const withFilter: (asyncIteratorFn: ResolverFn, filterFn: FilterFn) => ResolverFn;