import { SfCommand } from '@salesforce/sf-plugins-core'; import { PromoteCommand } from '../../../../common/base/abstractPromote.js'; import type { PromoteOptions } from '../../../../common/index.js'; import type { AsyncOperationResultJson } from '../../../../common/types.js'; /** * Contains the logic to execute the sf project deploy pipeline start command. */ export default class DeployPipeline extends PromoteCommand { static readonly summary: string; static readonly description: string; static readonly examples: string[]; static readonly state = "beta"; protected baseCommand: string; private readonly isUndeployedOnly; run(): Promise; /** * Computes the source stage Id for deployOnly promotions. If the given stage has a previous stage * then the source stage is the previous stage. If not the it means this is the * first stage of the pipeline and source stage Id = Approved. * * @returns: string. It is the source stage Id. */ protected getSourceStageId(): string; /** * Returns the promote option necessary to performs an undeployed only promotion */ protected getPromoteOptions(): Partial; }