import type { Fn, Nullable } from "@thi.ng/api"; import type { Transducer } from "./api.js"; /** * Transducer. Only keeps values for which (optional) predicate returns a * non-null result. If no `pred` is given, uses values as is. * * @param pred - */ export declare function keep(pred?: Fn, any>): Transducer, T>; export declare function keep(src: Iterable>): IterableIterator; export declare function keep(pred: Fn, any>, src: Iterable>): IterableIterator; //# sourceMappingURL=keep.d.ts.map