import type { Callback } from '@5ire/types/types'; import type { UnsubscribePromise } from '../types'; export declare type CombinatorCallback = Callback; export interface CombinatorFunction { (cb: Callback): UnsubscribePromise; } export declare class Combinator { #private; constructor(fns: (CombinatorFunction | [CombinatorFunction, ...unknown[]])[], callback: CombinatorCallback); protected _allHasFired(): boolean; protected _createCallback(index: number): (value: any) => void; protected _triggerUpdate(): void; unsubscribe(): void; }