import { Option } from 'fp-ts/lib/Option'; import { Stream } from '../uri'; /** * Given a selector function which takes an element and returns * an {@link Option}, this function applies the selector to each element of * the array and returns the last `Some` result. Otherwise it returns `None`. * * @export * @template A The value type. * @template B The mapped value type. * @param {(a: A) => Option} f The mapping function. * @return {(fa: Stream) => Option} A function that takes a stream and * returns an option of `B`. * * @__PURE__ */ export declare function findLastMap(f: (a: A) => Option): (fa: Stream) => Option;