import type { ISink, ITime } from '../stream/index.js'; export declare function tryEvent(sink: ISink, time: ITime, value: T): void; export declare function tryEnd(sink: ISink, time: ITime): void; /** * Immutably append an element to an array * Optimized for small arrays (common case for multicast) */ export declare function append(array: readonly T[], element: T): readonly T[]; /** * Immutably remove an element at index from an array * Optimized for small arrays (common case for multicast) */ export declare function remove(array: readonly T[], index: number): readonly T[];