import { MedusaStoreRequest } from "@medusajs/framework/http"; import { MedusaPricingContext, TaxCalculationContext } from "@medusajs/framework/types"; type OfferLocationLevel = { location_id: string; stocked_quantity: number; }; type OfferInventoryLink = { required_quantity?: number | null; inventory_item?: { location_levels?: OfferLocationLevel[] | null; } | null; }; export type EnrichableOffer = { id: string; product_id?: string; product_variant?: { price_set?: { id?: string; } | null; } | null; inventory_item_link?: OfferInventoryLink[] | null; calculated_price?: Record | null; inventory_quantity?: number | null; in_stock?: boolean; }; type StoreRequestWithContext = MedusaStoreRequest & { pricingContext?: MedusaPricingContext; taxContext?: { taxLineContext?: TaxCalculationContext; taxInclusivityContext?: { automaticTaxes: boolean; }; }; }; export declare const wrapOffersWithCalculatedPrices: (req: StoreRequestWithContext, offers: EnrichableOffer[]) => Promise; export declare const wrapOffersWithTaxPrices: (req: StoreRequestWithContext, offers: EnrichableOffer[]) => Promise; export declare const wrapOffersWithInventoryQuantityForSalesChannel: (req: MedusaStoreRequest, offers: EnrichableOffer[]) => Promise; export declare const splitComputedOfferFields: (fields: string[]) => { fields: string[]; withCalculatedPrice: boolean; withInventoryQuantity: boolean; }; export {};