import BaseElement from './base-element'; import { WebRtcEndpoint } from '../elements/webrtc-endpoint'; import { PlayerEndpointOptions, RecorderEndpointOptions, WebRtcEndpointOptions } from '../types'; import { PlayerEndpoint } from './player-endpoint'; import { RecorderEndpoint } from './recorder-endpoint'; import { HubPort } from '../hubs/hub-port'; import { CompositeHub } from '../hubs/composite-hub'; import { DispatcherOneToMany } from '../hubs/dispatcher-one-to-many-hub'; import { Dispatcher } from '../hubs'; export declare class MediaPipeline extends BaseElement { constructor(objId: string); createWebRtcEndpoint(opts?: WebRtcEndpointOptions): Promise; createPlayerEndpoint(opts: PlayerEndpointOptions): Promise; createRecorderEndpoint(opts: RecorderEndpointOptions): Promise; createComposite(): Promise; createDispatcher(): Promise; createDispatcherOneToMany(): Promise; connect(source: WebRtcEndpoint | PlayerEndpoint | HubPort, destination: WebRtcEndpoint | RecorderEndpoint | HubPort): Promise<{ sessionId: string; } | null>; disconnect(source: WebRtcEndpoint, destination: WebRtcEndpoint): Promise<{ sessionId: string; } | null>; }