import { SubscriberArgs, SubscriberConfig } from "@medusajs/framework"; /** * Recompute an order's commission lines whenever its composition changes — * order edits, returns, claims, and exchanges — so the seller's commission * tracks what the customer actually kept. The refresh is idempotent * (delete-then-insert), so re-running on follow-up events is safe. */ export default function orderCommissionRefreshHandler({ event, container, }: SubscriberArgs<{ order_id?: string; id?: string; }>): Promise; export declare const config: SubscriberConfig;