import { IPipeline, IStage, IStageOrTriggerTypeConfig } from 'core/domain';
import { IStageOrTriggerValidator, IValidatorConfig } from './PipelineConfigValidator';
export interface IStageOrTriggerBeforeTypeValidationConfig extends IValidatorConfig {
    getStageTypes?: Function;
    stageTypes?: string[];
    stageType?: string;
    checkParentTriggers?: boolean;
    getMessage?: Function;
    message?: string;
}
export declare class StageOrTriggerBeforeTypeValidator implements IStageOrTriggerValidator {
    private pipelineCache;
    validate(pipeline: IPipeline, stage: IStage, validator: IStageOrTriggerBeforeTypeValidationConfig, _config: IStageOrTriggerTypeConfig): PromiseLike<string>;
    private addTriggers;
    private addExternalTriggers;
    private addPipelineTriggers;
}
