import { LocalAudioTrack, LocalVideoTrack } from 'livekit-client'; export interface MediaDeviceSelectProps { kind: MediaDeviceKind; initialSelection?: string; /** will force the browser to only return the specified device * will call `onDeviceSelectError` with the error in case this fails */ exactMatch?: boolean; track?: LocalAudioTrack | LocalVideoTrack; /** * this will call getUserMedia if the permissions are not yet given to enumerate the devices with device labels. * in some browsers multiple calls to getUserMedia result in multiple permission prompts. * It's generally advised only flip this to true, once a (preview) track has been acquired successfully with the * appropriate permissions. * * @see {@link MediaDeviceMenu} * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices | MDN enumerateDevices} */ requestPermissions?: boolean; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; }; refs: { listRef: unknown; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent any; activeDeviceChange: (deviceId: string) => any; deviceListChange: (devices: MediaDeviceInfo[]) => any; deviceSelectError: (error: Error) => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ onError?: ((error: Error) => any) | undefined; onActiveDeviceChange?: ((deviceId: string) => any) | undefined; onDeviceListChange?: ((devices: MediaDeviceInfo[]) => any) | undefined; onDeviceSelectError?: ((error: Error) => any) | undefined; }>, { exactMatch: boolean; requestPermissions: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { listRef: unknown; }, any>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=MediaDeviceSelect.vue.d.ts.map