require("../../../_virtual/_rolldown/runtime.js");
const require_SalesSdkSummaryContext = require("../context/SalesSdkSummaryContext.js");
let react = require("react");
//#region src/plus/salesSdk/hooks/useSalesSdkSummary.ts
/**
* Summary Provider 出口：仅暴露 summary。
* 必须在 `<SalesSdkProvider>` 内部使用。
*/
function useSalesSdkSummary() {
	const ctx = (0, react.useContext)(require_SalesSdkSummaryContext.SalesSdkSummaryContext);
	if (!ctx) throw new Error("[SalesSdk] useSalesSdkSummary 必须在 <SalesSdkProvider> 内部使用");
	return ctx;
}
//#endregion
exports.useSalesSdkSummary = useSalesSdkSummary;
