import type { IStageOrTriggerValidator, IValidatorConfig } from './PipelineConfigValidator';
import type { IPipeline, IStage, IStageOrTriggerTypeConfig } from '../../../domain';
export interface ITriggerWithServiceAccount extends IStage {
    runAsUser: string;
}
export interface IServiceAccountAccessValidationConfig extends IValidatorConfig {
    message: string;
}
export declare class ServiceAccountAccessValidator implements IStageOrTriggerValidator {
    validate(_pipeline: IPipeline, stage: ITriggerWithServiceAccount, validator: IServiceAccountAccessValidationConfig, _config: IStageOrTriggerTypeConfig): PromiseLike<string>;
}
