/** * Represents a pointer device. * * This is an immutable object. */ interface PointerDevice { /** * Indicates the {@link https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType | `pointerType`} property of the `PointerEvent`. */ readonly type: string; } /** * The pointer device. */ declare namespace PointerDevice { /** * The type of the pointer device. */ const Type: { readonly MOUSE: "mouse"; readonly PEN: "pen"; readonly TOUCH: "touch"; }; } type _PointerDeviceSource = { pointerType: string; }; declare function _pointerDeviceOf(source: _PointerDeviceSource): PointerDevice; export { type _PointerDeviceSource, _pointerDeviceOf, PointerDevice, }; //# sourceMappingURL=pointer_device.d.ts.map