import React from 'react';
import type { IPipelineTemplateV2 } from '../../../../domain/IPipelineTemplateV2';
import './DeletePipelineTemplateV2Modal.less';
export interface IDeletePipelineTemplateV2ModalProps {
    template: IPipelineTemplateV2;
    onClose: () => void;
}
export interface IDeletePipelineTemplateV2ModalState {
    deleteError?: Error;
}
export declare class DeletePipelineTemplateV2Modal extends React.Component<IDeletePipelineTemplateV2ModalProps, IDeletePipelineTemplateV2ModalState> {
    constructor(props: IDeletePipelineTemplateV2ModalProps);
    private deleteTemplate;
    private getDeleteErrorMessage;
    render(): JSX.Element;
}
