import { KeyChanges } from "./partitionByKey"; import { Observable } from "rxjs"; export interface MapWithChanges extends Map { changes: Set; } /** * Creates a stream that combines the result of the streams from each key of the input stream. * * @param keys$ Stream of the list of keys to subscribe to. * @param getInner$ Function that returns the stream for each key. * @returns An stream with a map containing the latest value from the stream of each key. */ export declare const combineKeys: (keys$: Observable | KeyChanges>, getInner$: (key: K) => Observable) => Observable>;