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