import { BigNumberInput } from "@medusajs/framework/types";
/**
 * The details of the items to resolve pricing quantities for.
 */
export interface GetLineItemPricingQuantitiesStepInput {
    /**
     * The ID of the cart the items are added to.
     */
    id: string;
    /**
     * The items being added to the cart.
     */
    items?: {
        variant_id?: string;
        quantity?: BigNumberInput;
        unit_price?: BigNumberInput;
        metadata?: Record<string, unknown> | null;
    }[];
}
export declare const getLineItemPricingQuantitiesStepId = "get-line-item-pricing-quantities";
/**
 * This step resolves the quantity that each item added to a cart must be priced
 * for. When an item is merged into an existing line item of the cart, its price
 * has to be selected for the resulting total quantity, not only for the added
 * quantity. Otherwise, quantity-based prices (such as price list tiers) are
 * resolved against the wrong quantity.
 *
 * The returned quantities are aligned, by index, with the input items.
 *
 * @example
 * const quantities = getLineItemPricingQuantitiesStep({
 *   "id": "cart_123",
 *   "items": [{
 *     "variant_id": "variant_123",
 *     "quantity": 1,
 *   }]
 * })
 */
export declare const getLineItemPricingQuantitiesStep: import("@medusajs/framework/workflows-sdk").StepFunction<GetLineItemPricingQuantitiesStepInput, number[]>;
//# sourceMappingURL=get-line-item-pricing-quantities.d.ts.map