export class Stream { /** * Id of the stream */ id: string; /** * @description This represents the type of Stream */ kind: 'audio' | 'video' | 'share' | 'shareAudio'; /** * @description This represents the codec of the stream */ codec: string; /** * @description This represents the track which can be used to play the audio or video of the participant */ track: MediaStreamTrack; /** * This represents the surface type of a screen-share stream — whether the shared source is an entire screen (`"monitor"`), an application window (`"window"`), or a browser tab (`"browser"`). * * > **Note** * > * > This is available for screen-share streams of both local and remote participants. It will be `undefined` for audio, video, or any non-screen-share stream, and on browsers that do not support this feature. */ displaySurface: 'monitor' | 'window' | 'browser' | undefined; /** * @description This method can be used to pause the incoming audio stream */ pause(): Promise; /** * @description This method can be used to resume the incoming audio stream */ resume(): Promise; get paused(): any; }