/*!
 * Copyright (C) Microsoft Corporation. All rights reserved.
 */
import type { AddFlowContext } from '../Types/ActionTypes.js';
export type AddFlowResult = {
    success: boolean;
    error?: string;
};
/**
 * Adds a flow by retrieving its metadata and swagger, updating the power.config file with the
 * appropriate connection references, and generating models and services from the flow's swagger.
 *
 * @param {AddFlowContext} context
 * @returns {Promise<AddFlowResult>}
 */
export declare function addFlowAsync(context: AddFlowContext): Promise<AddFlowResult>;
//# sourceMappingURL=AddFlow.d.ts.map