import React from 'react'; export interface UseSkuModalOptions { /** 确认回调 */ onConfirm?: (productId: string, skuValue: any, price: number) => void; /** 取消回调 */ onCancel?: () => void; } export declare const useSkuModal: (options?: UseSkuModalOptions) => { /** 打开 SKU 弹窗方法 */ openSkuModal: (product: any) => void; /** 关闭 SKU 弹窗方法 */ closeSkuModal: () => void; /** SKU Modal 组件 */ SkuModal: React.JSX.Element; /** SKU 弹窗是否打开 */ isSkuModalOpen: boolean; /** 当前编辑的商品 */ currentEditProduct: any; /** 当前选中的 SKU 值 */ skuValue: any; };