import { SfCommand } from '@salesforce/sf-plugins-core'; import { CombineDetails } from '../../utils/promotionUtils.js'; export type PromoteResult = { requestId: string; status: string; message: string; promotedWorkitemIds: string[]; combineDetails?: CombineDetails | null; }; export default class DevopsPromote extends SfCommand { static readonly summary: string; static readonly description: string; static readonly examples: string[]; static readonly flags: { 'target-org': import("@oclif/core/interfaces").OptionFlag; 'api-version': import("@oclif/core/interfaces").OptionFlag; 'target-stage-id': import("@oclif/core/interfaces").OptionFlag; 'work-item-id': import("@oclif/core/interfaces").OptionFlag; 'stage-id': import("@oclif/core/interfaces").OptionFlag; 'deploy-all': import("@oclif/core/interfaces").BooleanFlag; 'test-level': import("@oclif/core/interfaces").OptionFlag; tests: import("@oclif/core/interfaces").OptionFlag; 'skip-validation': import("@oclif/core/interfaces").BooleanFlag; force: import("@oclif/core/interfaces").BooleanFlag; }; private static assertWorkItemsPromotable; private static fetchStageWorkItems; run(): Promise; /** * Blocks promotion if another promotion to the same target stage is already in flight, to * avoid creating a duplicate. Scoped to the target stage (and therefore its pipeline), so * promotions in other stages or pipelines are unaffected. Best-effort: if the check can't * run, the promotion proceeds as before. */ private assertNoInFlightPromotion; private runValidation; }