"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports.ImageType=void 0,exports.default=chooseImage;var ImageType,_extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_invoker=_interopRequireDefault(require("./invoker"));function chooseImage(e){return _invoker.default.invoke("dgChooseImage",(0,_extends2.default)({},e,{_apiName:"chooseImage"}))}exports.ImageType=ImageType,function(e){e[e.image=0]="image",e[e.video=1]="video"}(ImageType||(exports.ImageType=ImageType={})),_invoker.default.registerAPI("dgChooseImage",{mini:!0,mobile:!0,pc:function(e,o){window.dingtalk.platform.invokeAPI(o.msgId,"biz.util.dgChooseImage",e)}}),chooseImage.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.6"};