import type { Flow } from '../flow.types';
export type CancelFlowParams = {
    flowId: string;
};
/**
 * Cancels a flow before it has been broadcasted
 *
 * @param params CancelFlowParams - The flow to cancel.
 * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
 * @returns The cancelled flow
 * @instrumented
 */
export declare const cancelFlow: ({ flowId }: CancelFlowParams, client?: import("../../../exports").DynamicClient) => Promise<Flow>;
//# sourceMappingURL=cancelFlow.d.ts.map