import { type Kysely } from 'kysely';
/**
 * Add `dispatch_queue.last_provisioning_error TEXT` recording the most
 * recent scaler spawn-failure detail for a queued job.
 *
 * When the scaler fails to provision an agent for a job (e.g. the agent
 * process exits with "spawn node ENOENT", or a container backend rejects
 * the run), a `scaler.failed` event bound to the job writes the failure
 * detail into this column. The queue-timeout reaper reads it so the job's
 * eventual failure surfaces the real provisioning cause instead of a bare
 * "no agent available" timeout. The column is cleared on dispatch and is
 * NULL whenever no provisioning failure has been recorded.
 *
 * Idempotent: re-running on a DB that already has the column is a no-op.
 */
export declare function up(db: Kysely<unknown>): Promise<void>;
export declare function down(db: Kysely<unknown>): Promise<void>;
//# sourceMappingURL=024_dispatch_queue_provisioning_error.d.ts.map