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