import { Option } from 'fp-ts/lib/Option'; import { Stream } from '../uri'; /** * Gets all but the last element of a {@link Stream}, creating a new * {@link Stream}, or `None` if the stream was empty. * * @export * @template A The value type. * @param {Stream} fa The input stream. * @return {Option>} An option of output stream. * * @__PURE__ */ export declare function init(fa: Stream): Option>;