import { Connection } from '@salesforce/core'; import { AbstractOutputService, OutputFlags, OutputService } from './outputService.js'; /** * Builds the appropiate DeploySummaryOutputService * * @author JuanStenghele-sf */ export declare class DeploySummaryBuilder { private con; constructor(con: Connection); /** * Builds the appropiate DeploySummaryOutputService */ build(branch: string, aorId: string, flags: OutputFlags): Promise; } export declare abstract class DeploySummaryOutputService extends AbstractOutputService { protected con: Connection; protected branch: string; protected stageName: string; protected environmentName: string; constructor(con: Connection, branch: string, flags: T); printOpSummary(): Promise; protected printConciseSummary(): void; /** * Gets all the attributes needed to call printSummary() */ protected abstract buildSummary(): Promise; /** * Prints the specific summary for this deploy type */ protected abstract printSummary(): void; } /** * This method gets info from the Pipeline to write the summaries (soup, versioned, validate-deploy) * * @param con Conenction used to query * @param environmentId * @returns PipelineInfo */ export declare function getPipelineStageInfo(con: Connection, environmentId: string): Promise; export type PipelineStageInfo = { stageName: string; environmentName: string; };