import { MediaType } from "./types";
/**
 * Get media stream from provided device id and media type.
 *
 * @param deviceId - id of device to get stream from
 * @param type - type of media to get stream from
 * @returns Promise with {@link MediaStream}
 *
 * @example
 * getUserMedia("123", "video").then((stream) => {
 *  console.log(stream);
 * });
 */
export declare const getUserMedia: (deviceId: string, type: MediaType) => Promise<MediaStream>;
//# sourceMappingURL=getUserMedia.d.ts.map