import type { IStream } from '../types.js'; /** * Combine latest values from multiple streams whenever any stream emits. * Waits until every input has produced at least one value before the first * output; subsequent inputs trigger a new combined emission. * * streamA: -1---2| * streamB: ---a---b-c-> * combineMap: ---A-B-C-D-> * where A = [1, a] * B = [2, a] * C = [2, b] * D = [2, c] */ export declare function combineMap(f: (...args: T) => R, ...sources: [...{ [K in keyof T]: IStream; }]): IStream; /** * Combine multiple streams into an object stream keyed by the input map. * * temperature: -a-b-c-> * humidity: -x-y-z-> * combine: -A-B-C-> * where A = { temperature: a, humidity: x } * B = { temperature: b, humidity: x } * C = { temperature: b, humidity: y } */ export declare function combine(state: { [P in keyof A]: IStream; }): IStream>;