exporttypeUseDeviceListReturns= {/** * List of all devices */devices: MediaDeviceInfo[]/** * a getter to get all video inputs */videoInputs(): MediaDeviceInfo[]/** * a getter to get all audio inputs */audioInputs(): MediaDeviceInfo[]/** * a getter to get all audio outputs */audioOutputs(): MediaDeviceInfo[]/** * a boolean to check if permission is granted */isPermissionGranted: boolean/** * a function to check if the browser supports the API */isSupported: boolean/** * a function to request for permissions to access the media devices */ensurePermission(): Promise<boolean>/** * a function to update the list of devices */update(): Promise<void>}