import { BaseSignal, SignalOfType } from '../shared/shared-types'; /** * Base class that provides runtime utilities for signals. */ export declare abstract class SignalsRuntime { signalBuffer: Signal[]; protected _maxBufferSize: number; constructor(signals?: Signal[]); /** * Finds a signal of a specific type from a given signal. * * SignalType - The type of the signal to find. * @param fromSignal - The signal to search from. * @param signalType - The type of the signal to find. * @param predicate - Optional predicate function to filter the signals. * @returns The found signal of the specified type, or undefined if not found. */ find: (fromSignal: Signal, signalType: SignalType, predicate?: (signal: SignalOfType) => boolean) => SignalOfType | undefined; /** * Filters signals of a specific type from a given signal. * SignalType - The type of the signals to filter. * @param fromSignal - The signal to search from. * @param signalType - The type of the signals to filter. * @param predicate - Optional predicate function to filter the signals. * @returns An array of signals of the specified type. */ filter: (fromSignal: Signal, signalType: SignalType, predicate?: (signal: SignalOfType) => boolean) => SignalOfType[]; } //# sourceMappingURL=signals-runtime.d.ts.map