import { MediaType } from "./types";
/**
 * Hook that returns the media stream and methods to control it, depending on the passed id of device and type.
 *
 * @param type - type of media stream
 * @param deviceId - id of device
 * @returns object containing information about the media stream and methods to control it
 */
export declare const useUserMediaById: (type: MediaType, deviceId: string | null) => import("./useMedia").UseUserMedia;
//# sourceMappingURL=useUserMediaById.d.ts.map