import type { SaleDetailContext, SaleDetailOrderCompletePayload } from '../../../plus/saleDetail/types';
import type { BigSaleContext } from '../types';
/**
 * 从 BigSaleContext 裁剪 SaleDetail 所需字段；useMemo 稳定引用，避免每 render new 对象。
 *
 * @example
 * const saleDetailContext = usePickSaleDetailContext(bigSaleContext, onOrderComplete);
 * <SaleDetailBase context={saleDetailContext} />
 */
export declare function usePickSaleDetailContext(bigSaleContext: BigSaleContext, onOrderComplete?: (payload: SaleDetailOrderCompletePayload) => void): SaleDetailContext;
