import { aws_codebuild, aws_codepipeline, aws_codepipeline_actions, aws_iam } from 'aws-cdk-lib';
import { Construct } from 'constructs';
export interface INewmanRunnerProps extends aws_codebuild.PipelineProjectProps {
    /**
     * The artifact which contains the newman collection file.
     */
    readonly sourceArtifact: aws_codepipeline.Artifact;
    /**
     * Path to the newman collection file the project should execute.
     */
    readonly collectionPath: string;
    /**
     * Key-value pairs of environment variables to pass to the collection runner.
     */
    readonly collectionVariables: {
        [key: string]: string;
    };
    /**
     * Display name for the action in a CodePipeline. Defaults to construct id.
     */
    readonly actionName?: string;
    /**
     * Order in the pipeline stage when this action should take place. Defaults to 98 so that approval can come after.
     */
    readonly runOrder?: number;
    /**
     * Role that should run the CodeBuild Project.
     * If omitted, a default service role may be created for the project. See AWS CDK documentation:
     * https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-codebuild.PipelineProject.html#role
     */
    readonly role?: aws_iam.Role;
}
export declare class NewmanRunner {
    /**
     * CodeBuild project that will execute the newman collection.
     */
    readonly project: aws_codebuild.PipelineProject;
    /**
     * Action to be included in a CodePipeline stage.
     */
    readonly action: aws_codepipeline_actions.CodeBuildAction;
    constructor(scope: Construct, id: string, props: INewmanRunnerProps);
}
export default NewmanRunner;
