import { Option } from 'fp-ts/lib/Option'; import { Task } from 'fp-ts/lib/Task'; import { AsyncStream } from '../uri'; /** * Gets the first element in an {@link AsyncStream}, or `None` if the * {@link AsyncStream} is empty. * * @export * @template A The value type. * @param {AsyncStream} fa The input async stream. * @return {Task>} A task of an option of the first value in the * async stream. * * @__PURE__ */ export declare function head(fa: AsyncStream): Task>;