const require_normalProductDetailHostController = require("./normalProductDetailHostController.js");
//#region src/plus/salesSdk/normalProductDetail/createOpenNormalProductDetailHost.ts
/**
* SalesSdk 普通商品 SKU 弹窗 Host（create 模式，供 requiresDetail 编排使用）。
*
* 须与 `<NormalProductDetailHostRenderer />` 同树挂载（SalesSdkProvider 内）。
*/
function createOpenNormalProductDetailHost() {
	return (payload) => require_normalProductDetailHostController.requestOpenNormalProductDetail({
		mode: "create",
		requiresDetailPayload: payload
	}).then((result) => (result === null || result === void 0 ? void 0 : result.mode) === "create" ? result.detailResult : null);
}
//#endregion
exports.createOpenNormalProductDetailHost = createOpenNormalProductDetailHost;
