1 | import { AsyncPredicate, Predicate } from '@naturalcycles/js-lib';
|
2 | import { TransformOptions, TransformTyped } from '../stream.model';
|
3 | import { TransformMapOptions } from './transformMap';
|
4 | /**
|
5 | * Just a convenience wrapper around `transformMap` that has built-in predicate filtering support.
|
6 | */
|
7 | export declare function transformFilter<IN = any>(predicate: AsyncPredicate<IN>, opt?: TransformMapOptions): TransformTyped<IN, IN>;
|
8 | /**
|
9 | * Sync version of `transformFilter`
|
10 | */
|
11 | export declare function transformFilterSync<IN = any>(predicate: Predicate<IN>, opt?: TransformOptions): TransformTyped<IN, IN>;
|