import * as CK from "../../../../Collections/Immutable/Chunk";
import * as Tp from "../../../../Collections/Immutable/Tuple";
import * as C from "../core";
/**
 * Creates a stream that groups on adjacent keys, calculated by function f.
 */
export declare function groupAdjacentBy_<R, E, A, K>(self: C.Stream<R, E, A>, f: (a: A) => K): C.Stream<R, E, Tp.Tuple<[K, CK.Chunk<A>]>>;
/**
 * Creates a stream that groups on adjacent keys, calculated by function f.
 *
 * @ets_data_first groupAdjacentBy_
 */
export declare function groupAdjacentBy<A, K>(f: (a: A) => K): <R, E>(self: C.Stream<R, E, A>) => C.Stream<R, E, Tp.Tuple<[K, CK.Chunk<A>]>>;
//# sourceMappingURL=groupAdjacentBy.d.ts.map