import _extends from"@babel/runtime/helpers/extends";import invoker from"./invoker";export var ImageType;!function(e){e[e.image=0]="image",e[e.video=1]="video"}(ImageType||(ImageType={})),invoker.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"};export default function chooseImage(e){return invoker.invoke("dgChooseImage",_extends({},e,{_apiName:"chooseImage"}))}