import { Stream } from '../uri';
/**
* Rotates a {@link Stream} by `n` steps.
*
* If the `n` is less than zero, the {@link Stream} will be rotated to the
* opposite direction and **this case will consume the stream**.
*
* For `n` greater or equal to zero,
* _this function will not consume the stream._
*
* @export
* @param {number} n The number of times to rotate.
* @return {(fa: Stream) => Stream} A function that takes a stream to
* rotate.
*
* @__PURE__
*/
export declare function rotate(n: number): (fa: Stream) => Stream;