import { Stream } from '../uri'; /** * Takes given amount of items from a {@link Stream} from the end to the start. * * If negative value is passed, an empty {@link Stream} will be returned. * * **Warning: This function consumes the stream.** * * @export * @param {number} n The number of elements to take. * @return {(fa: Stream) => Stream} A function that takes a stream and * returns another stream that contains only given amount of elements. * * @__PURE__ */ export declare function takeRight(n: number): (fa: Stream) => Stream;