import { AnyEvent } from "../_interfaces"; import { EventStream } from "../EventStream"; /** * Creates an EventStream that produces events from the given array. Once the * stream is activated, all events are emitted at the same tick. You can also send * errors by using `F.Error` event in the given array. * * @param events - Events to be emitted to the subscribers * * @example * * const events = F.fromArray(["foo", new F.Error("fail"), "bar"]) * * @public */ export declare function fromArray(events: Array>): EventStream;