import { Stream } from '../../Stream/uri';
import { AsyncStream } from '../uri';
/**
* Splits an {@link AsyncStream} into two pieces, the first piece has max `n`
* elements.
*
* @export
* @param {number} n The number of elements the first stream will contain.
* @return {(fa: AsyncStream) => AsyncStream} A function that takes an
* async stream to split.
*
* @__PURE__
*/
export declare function splitAt(n: number): (fa: AsyncStream) => AsyncStream>;
/**
* Splits an {@link AsyncStream} into two pieces, the first piece has max `n`
* elements.
*
* @export
* @param {number} n The number of elements the first stream will contain.
* @return {(fa: AsyncStream) => Stream>} A function that
* takes an async stream to split.
*
* @__PURE__
*/
export declare function splitAtStream(n: number): (fa: AsyncStream) => Stream>;