import type { IPipeline } from '../../../domain/IPipeline'; import type { IStage } from '../../../domain/IStage'; export interface ITriggerPipelineResponse { eventId: string; ref: string; } export declare class PipelineConfigService { private static configViewStateCache; private static buildViewStateCacheKey; static getPipelinesForApplication(applicationName: string): PromiseLike; static getPipelineForApplication(applicationName: string, pipelineName: string): PromiseLike; static getStrategiesForApplication(applicationName: string): PromiseLike; static getHistory(id: string, isStrategy: boolean, count?: number): PromiseLike; static deletePipeline(applicationName: string, pipeline: IPipeline, pipelineName: string): PromiseLike; static savePipeline(toSave: IPipeline): PromiseLike; static reorderPipelines(application: string, idsToIndices: { [key: string]: number; }, isStrategy?: boolean): PromiseLike; static renamePipeline(applicationName: string, pipeline: IPipeline, currentName: string, newName: string): PromiseLike; static triggerPipeline(applicationName: string, pipelineName: string, body?: any): PromiseLike; static getDownstreamStageIds(map: Map>, stage: string | number): Array; static getDependencyCandidateStages(pipeline: IPipeline, stage: IStage): IStage[]; private static groupStagesByRequisiteStageRefIds; static getAllUpstreamDependencies(pipeline: IPipeline, stage: IStage): IStage[]; private static sortPipelines; }