def set_emulated_vision_deficiency(type: str) -> dict:
    """Emulates the given vision deficiency.

    Parameters
    ----------
    type: str
            Vision deficiency to emulate.

    **Experimental**
    """
    return {"method": "Emulation.setEmulatedVisionDeficiency", "params": {"type": type}}