import { SFC } from "../../core/types"; import { IBvWebrtcCommonProps } from "../types"; import { IBvWebrtcComponentInstance } from "./index"; import { IDialog } from "../../api/dialog"; export interface IAudioPlayerProps extends IBvWebrtcCommonProps { onGetUserMediaFailed?(): void; getRemoteSdpParam: any; getRemoteSdpResult?(sdp: string, token?: string, param?: any): Promise; type?: "auto" | "webrtc" | "ws-bvrtc"; isConference?: boolean; } export interface IAudioPlayerInstance extends IBvWebrtcComponentInstance { } declare const AudioPlayer: SFC; export default AudioPlayer;