import type { IStageOrTriggerValidator, IValidatorConfig } from './PipelineConfigValidator';
import type { IPipeline, IStage, IStageOrTriggerTypeConfig } from '../../../domain';
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;
}
