"use strict";function confirm$(a){return ddSdk_1.ddSdk.invokeAPI(actualCallApiName,a)}var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(a){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a},__assign.apply(this,arguments)},_a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.confirm$=void 0;var ddSdk_1=require("../../lib/ddSdk"),apiName="confirm",actualCallApiName="device.notification.confirm",paramsDeal=function(a){var e={title:a.title||"",message:a.content,buttonLabels:[a.cancelButtonText||"取消",a.confirmButtonText||"确定"]};return __assign(__assign({},e),a)};ddSdk_1.ddSdk.setAPI(actualCallApiName,(_a={},_a[ddSdk_1.ENV_ENUM.harmony]={vs:"7.0.0",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.pc]={vs:"2.5.0"},_a[ddSdk_1.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:paramsDeal},_a)),exports.confirm$=confirm$,exports.default=confirm$;