/** * Apply a generated plan to a live job. * * Checks drift locally and through the API's `fromVersion` guard; transient * failures are retried with backoff. */ import { Command } from 'commander'; import { ICommand } from '../lib/command-registry.js'; import { MergeConfiguration } from '../types.js'; import { GreprApiClient } from '../lib/grepr-api-client.js'; import { SchemaUpdateJob } from '../openapi/openApiTypes.js'; export declare class JobApplyCommand implements ICommand { addToProgram(program: Command, mergeConfiguration: MergeConfiguration): void; private checkDrift; } /** * PUT the proposed job, retrying transient failures and rechecking drift after conflicts. * rollbackEnabled is forwarded to the API; when undefined the client defaults it to on. */ export declare function apply(apiClient: GreprApiClient, jobId: string, proposed: SchemaUpdateJob, rollbackEnabled?: boolean): Promise; //# sourceMappingURL=job-apply-command.d.ts.map