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