import React from 'react';
import { Application } from '../application';
import { IFunction } from '../domain';
import { IFunctionUpsertCommand } from './function.write.service';
import { IModalComponentProps } from '../presentation';
export interface IFunctionModalProps extends IModalComponentProps {
    className?: string;
    dialogClassName?: string;
    app: Application;
    forPipelineConfig?: boolean;
    functionDef: IFunction;
    command?: IFunctionUpsertCommand;
    closeModal?: (functionCommand: IFunctionUpsertCommand) => void;
    dismissModal?: (rejectReason?: any) => void;
}
export interface ICreateFunctionButtonProps {
    app: Application;
}
export declare class CreateFunctionButton extends React.Component<ICreateFunctionButtonProps> {
    private createFunction;
    render(): JSX.Element;
}
