import * as React from 'react';
import { Media } from '../Definitions';
/**
* @param id HTML id attribute value for the element.
* @param className HTML class attribute value for the element.
* @param media Media object wrapper, see `Media` interface below.
* @param volume Output volume limit, from `0` to `1` inclusive.
* @param outputDevice Device ID of the specific speaker to use. (Depends on browser support).
*/
export interface AudioProps {
className?: string;
id?: string;
media: Media;
volume?: number;
outputDevice?: string;
}
/**
* @description
* Local and remote audio tracks can be played with the `` component.
*
* The provided `media` property can include `remoteDisabled` and `localDisabled` fields. If either of those properties are `true`, audio playback will be muted.
*
* @public
*
* @example
*
*/
declare class Audio extends React.Component {
private audio;
private stream?;
shouldComponentUpdate(newProps: AudioProps): boolean;
componentDidMount(): void;
componentDidUpdate(prev: AudioProps): void;
setup(newStream: boolean): void;
render(): JSX.Element;
}
export default Audio;