export interface HTMLMediaElement {
setSinkId: (id: string) => Promise<{}>;
sinkId: string;
srcObject: MediaStream | null;
}
export interface InputDeviceInfo {
deviceId: string;
groupId: string;
kind: string;
label: string;
}
export interface DeviceOption {
value: InputDeviceInfo;
label: string;
}
export declare const GET_DEVICES_INTERVAL = 5000;
export declare const LS_AUDIO_OUTPUT_KEY = "ls_audio_output_device_id";
export declare const LS_AUDIO_INPUT_KEY = "ls_audio_input_device_id";
export declare const LS_VIDEO_INPUT_KEY = "ls_video_input_device_id";
export declare const convertToDeviceOption: (mediaDevices: MediaDeviceInfo[]) => DeviceOption[];
declare type DeviceType = 'audioinput' | 'audiooutput' | 'videoinput';
export declare const getDevicesByType: (type: DeviceType, fallbackDeviceName?: string | undefined) => Promise;
export declare const ensureDeviceIsAvailable: (deviceId: string) => Promise;
export declare const isPromptPermissions: () => Promise;
export declare const getDeviceConnectStatus: ({ devices: { prev, current }, }: {
devices: {
prev: DeviceOption[];
current: DeviceOption[];
};
}) => {
newConnectedDevice: DeviceOption;
newDisconnectedDevice: DeviceOption;
};
export {};
//# sourceMappingURL=settings.d.ts.map