import { Eq } from 'fp-ts/lib/Eq'; import { Semigroup } from 'fp-ts/lib/Semigroup'; import { Stream } from '../uri'; /** * Gets an {@link Applicative} instance of given semigroup. * * @export * @template A The value type. * @param {Semigroup} S The semigroup instance. * @return {Semigroup>} A semigroup instance for a {@link Stream}. * * @category instances * @__PURE__ */ export declare function getSemigroup(S: Semigroup): Semigroup>; /** * Gets a {@link Semigroup} that concats two {@link Stream}s. * * @export * @template A The value type. * @return {Semigroup>} A {@link Semigroup} instance * for {@link Stream}s of type `A`. * * @category instances * @__PURE__ */ export declare function getSemigroup(): Semigroup>; /** * Gets an union {@link Semigroup} instance for `A`. * * @export * @template A The value type. * @param {Eq} E The {@link Eq} instance. * @return {Semigroup>} An union semigroup instance for * {@link Stream} of type `A`. * * @category instances * @__PURE__ */ export declare function getUnionSemigroup(E: Eq): Semigroup>; /** * Gets an intersection {@link Semigroup} instance for `A`. * * @export * @template A The value type. * @param {Eq} E The {@link Eq} instance. * @return {Semigroup>} An intersection semigroup instance for * {@link Stream} of type `A`. * * @category instances * @__PURE__ */ export declare function getIntersectionSemigroup(E: Eq): Semigroup>;