import { OperatorFunction } from "rxjs"; import type { CastConstructor, CastRefEventStore } from "../casts/cast.js"; import { EventCast } from "../casts/index.js"; import { NostrEvent } from "../helpers/event.js"; /** Casts an event to a specific type */ export declare function castEventStream(cls: CastConstructor, store?: CastRefEventStore): OperatorFunction; /** Casts and array of events to an array of casted events and filters out undefined values */ export declare function castTimelineStream(cls: CastConstructor, store?: CastRefEventStore): OperatorFunction;