import React from 'react';
import { Application } from 'core/application';
import { IFunction } from 'core/domain';
import { IModalComponentProps } from 'core/presentation';
import { IFunctionUpsertCommand } from './function.write.service';
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;
}
