import { MuxJobLike } from './rows'; /** * Folds a completed summarize, moderate or analyze-structure job into its asset's `robots_outputs` * (and `description` and `tags`), one slot per workflow, whoever ran it. Only from a job whose * `parameters.asset_id` is that asset: an output describes one video. */ export declare function writeOutputs(assetId: string, workflow: string, job: MuxJobLike): Promise; /** * Writes the newest stored results onto the asset's rows. A job can finish before its asset reaches * this Strapi, and its webhook then had no row to write to. * * Runs on every Robots sync, so a slot already holding the same job is left alone: rewriting it would * fill a description or tags someone cleared on purpose. */ export declare function backfillOutputs(assetId: string): Promise; /** * For a request that has already created the asset on Mux: a failure is logged, never thrown, since * an error there would make the user retry and create, and bill, a second asset. */ export declare function tryBackfillOutputs(assetId: string): Promise;