import type { FulfillmentWorkflow } from "@medusajs/framework/types";
/**
 * The data to update the shipping options.
 */
export type UpdateShippingOptionsWorkflowInput = FulfillmentWorkflow.UpdateShippingOptionsWorkflowInput[];
export declare const updateShippingOptionsWorkflowId = "update-shipping-options-workflow";
/**
 * This workflow updates one or more shipping options. It's used by the
 * [Update Shipping Options Admin API Route](https://docs.medusajs.com/api/admin/shipping-options/update-a-shipping-option).
 *
 * You can use this workflow within your own customizations or custom workflows, allowing you to
 * update shipping options within your custom flows.
 *
 * ### Updating Shipping Option Prices
 *
 * When you provide the `prices` array, it replaces the shipping option's existing flat-rate prices:
 *
 * - A price with a matching `id` is updated.
 * - A price without an `id` is created.
 * - Any existing price whose `id` isn't included in the array is deleted.
 *
 * The `rules` you provide for a price similarly replace that price's existing rules, so omit a rule to remove it.
 *
 * Omitting the `prices` property entirely leaves the existing prices unchanged, whereas setting `price_type` to `calculated` removes all flat-rate prices.
 *
 * :::note
 *
 * Learn more about adding rules to the shipping option's prices in the Pricing Module's
 * [Price Rules](https://docs.medusajs.com/resources/commerce-modules/pricing/price-rules) documentation.
 *
 * :::
 *
 * @example
 * const { result } = await updateShippingOptionsWorkflow(container)
 * .run({
 *   input: [
 *     {
 *       id: "so_123",
 *       name: "Standard Shipping",
 *     }
 *   ]
 * })
 *
 * @summary
 *
 * Update one or more shipping options.
 */
export declare const updateShippingOptionsWorkflow: import("@medusajs/framework/workflows-sdk").ReturnWorkflow<UpdateShippingOptionsWorkflowInput, FulfillmentWorkflow.UpdateShippingOptionsWorkflowOutput, []>;
//# sourceMappingURL=update-shipping-options.d.ts.map