import { PipedOperator } from '../types.js'; /** * Type for a keyed value */ export type Keyed = [K, V]; /** * Takes an unkeyed input and returns a keyed result * @param keyFn - Function to generate the key for each value */ export declare function keyBy(keyFn: (value: T) => K): PipedOperator>; /** * Removes the key from a keyed stream */ export declare function unkey(): PipedOperator, V>; /** * Takes a keyed input and rekeys it with a new key * @param keyFn - Function to generate the new key for each value */ export declare function rekey(keyFn: (value: V) => K2): PipedOperator, Keyed>;