/*!
 * Copyright (C) Microsoft Corporation. All rights reserved.
 */
import type { RemoveFlowContext } from '../Types/ActionTypes.js';
export type RemoveFlowResult = {
    success: boolean;
    found: boolean;
    error?: string;
};
/**
 * Removes a flow from the current Power Apps code app by undoing what addFlowAsync performed:
 * - Removes the flow's connection reference from power.config
 * - Removes stub dependency connection references no longer referenced by any other flow
 * - Deletes the flow's schema file and cleans up the empty directory
 * - Regenerates models and services
 *
 * @param {RemoveFlowContext} context
 * @returns {Promise<RemoveFlowResult>}
 */
export declare function removeFlowAsync(context: RemoveFlowContext): Promise<RemoveFlowResult>;
//# sourceMappingURL=RemoveFlow.d.ts.map