import { IModalComponentProps, IPipeline, IStage } from 'core';
import React from 'react';
import { IAwsCodeBuildSecondarySourcesVersion, IAwsCodeBuildSource } from './IAwsCodeBuildSource';
export interface IEditAwsCodeBuildSourceModalProps extends IModalComponentProps {
    source: IAwsCodeBuildSource;
    secondarySourcesVersionOverride: IAwsCodeBuildSecondarySourcesVersion;
    stage: IStage;
    pipeline: IPipeline;
}
export declare class EditAwsCodeBuildSourceModal extends React.Component<IEditAwsCodeBuildSourceModalProps> {
    private formikRef;
    private submit;
    static show(props: any): Promise<IAwsCodeBuildSource>;
    private onExpectedArtifactSelected;
    private onArtifactEdited;
    private validate;
    render(): React.ReactElement<EditAwsCodeBuildSourceModal>;
}
