import TRTC from "trtc-wx-sdk"; export interface WeappInitOptions { app: { id?: number; key: string; secret: string; gateway: string; startup: string; sign: string; }; trtc: TRTC; rsWeappBridgeMethodAdapter: Record; rsRtcEventCallback?: RsRtcEventCallback; } export interface RsRtcEventCallback { onLocalJoin?: Function; onLocalLeave?: Function; onKickedOut?: Function; onRemoteUserJoin?: Function; onRemoteUserLeave?: Function; onRemoteVideoAdd?: Function; onRemoteVideoRemove?: Function; onRemoteAudioAdd?: Function; onRemoteAudioRemove?: Function; onRemoteStateUpdate?: Function; onLocalNetStateUpdate?: Function; onRemoteNetStateUpdate?: Function; onRemoteAudioVolumeUpdate?: Function; onLocalAudioVolumeUpdate?: Function; onVideoFullscreenUpdate?: Function; onBgmPlayProgress?: Function; onBgmPlayComplete?: Function; onError?: Function; }