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