import { AgoraRteReturnCode } from '../../constant'; import { AgoraObservable } from '../../imports'; import { AgoraRteScreenScenarioType, AgoraRteStreamLayer, AgoraRteVideoEncoderConfig } from '../../type'; import { AgoraRteOperatCause } from '../processor/type'; import { AgoraRtcChannelClient } from '../rtc'; import { AgoraRteServiceApi } from '../services/api'; import { AgoraRteLocalSourceId, AgoraRteLocalUser, AgoraRteLocalUserObserver, AgoraRteMediaStreamCreateConfig, AgoraRteMediaStreamInfo, AgoraRteStreamBindConfig, AgoraRteUpdateStreamPrivilege, AgoraRteUpdateStreamPrivilegeScope } from './type'; export declare class AgoraRteLocalUserImpl implements AgoraRteLocalUser { private _userId; private _rtcChannelClient; private _fromSceneId; private _apiService; __json_serializable__: boolean; protected logger: import("agora-foundation/lib/logger/type").Logger; protected observable: AgoraObservable void; onStreamTokenRemoved: () => void; }>>; private _streamIdTokenMap; private _bindMapping; constructor(_userId: string, _rtcChannelClient: AgoraRtcChannelClient, _fromSceneId: string, _apiService: AgoraRteServiceApi); checkLocalStreamBind(stream: AgoraRteMediaStreamInfo): Promise; unbindLocalStream(stream: AgoraRteMediaStreamInfo): void; getLocalUserId(): string; sendSceneMessage(payload: Record, cmd: string, guaranteedDelivery?: boolean): Promise; updateSceneProperties(properties: Record, cause?: AgoraRteOperatCause): Promise; deleteSceneProperties(properties: string[], cause?: AgoraRteOperatCause): Promise; updateUserProperties(properties: Record, cause?: AgoraRteOperatCause): Promise; deleteUserProperties(properties: string[], cause?: AgoraRteOperatCause): Promise; addLocalStreams(configs: AgoraRteMediaStreamCreateConfig[], cause?: AgoraRteOperatCause): Promise; bindLocalStreams(configs: AgoraRteStreamBindConfig[]): Promise; removeStreams(streams: string[], cause?: AgoraRteOperatCause): Promise; updatePublishPrivilegeOfStreams(privileges: Record): Promise; updatePublishPrivilegeOfStreamsByScope(privilege: AgoraRteUpdateStreamPrivilege, scope: AgoraRteUpdateStreamPrivilegeScope): Promise; setVideoEncoderConfig(config: AgoraRteVideoEncoderConfig, streamLayer: AgoraRteStreamLayer, streamId: string): number; setDualStreamMode(streamId: string, enable: boolean): number; prepareToPublishStream(streamId: string, token: string): AgoraRteReturnCode; removePreparePublishStream(streamId: string): AgoraRteReturnCode; setScreenScenario(type: AgoraRteScreenScenarioType): number; getStreamTokenByStreamId(streamId: string): string | undefined; getLocalSourceId(streamId: string): AgoraRteLocalSourceId | undefined; addObserver(observer: AgoraRteLocalUserObserver): void; removeObserver(observer: AgoraRteLocalUserObserver): void; normalize(): { userId: string; sceneId: string; }; private _getPublishStateByPrivilege; }