import{Subject}from'./Subject';import{SchedulerLike}from'./types';import{Subscriber}from'./Subscriber';import{Subscription}from'./Subscription';/** * A variant of Subject that "replays" or emits old values to new subscribers. * It buffers a set number of values and will emit those values immediately to * any new subscribers in addition to emitting new values to existing subscribers. * * @class ReplaySubject<T> */exportdeclareclassReplaySubject<T>extendsSubject<T>{privatescheduler?;private_events;private_bufferSize;private_windowTime;private_infiniteTimeWindow;constructor(bufferSize?:number,windowTime?:number,scheduler?:SchedulerLike);privatenextInfiniteTimeWindow;privatenextTimeWindow;/** @deprecated This is an internal implementation detail, do not use. */_subscribe(subscriber:Subscriber<T>):Subscription;_getNow():number;private_trimBufferThenGetEvents;}