/** * Runs `task` after every earlier task for the same asset has settled. * * Robots writes for one asset are read-modify-write (claiming a placeholder, upserting by Mux id, * merging `robots_outputs`), and webhooks for the same job can arrive together. Never hold it across * a Mux call: webhooks waiting on it must still answer within Mux's 5 seconds. */ export declare function withAssetLock(assetId: string | null | undefined, task: () => Promise): Promise;