import type { CheckoutTransaction } from '../checkout.types';
export type CancelCheckoutTransactionParams = {
    transactionId: string;
};
/**
 * Cancels a checkout transaction before it has been broadcasted
 *
 * @deprecated Use {@link cancelFlow} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
 *
 * @param params CancelCheckoutTransactionParams - The transaction to cancel.
 * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
 * @returns The cancelled checkout transaction
 * @instrumented
 * @noHook Legacy checkout function not exposed as a React hook; the checkout product is being renamed to flow.
 */
export declare const cancelCheckoutTransaction: ({ transactionId }: CancelCheckoutTransactionParams, client?: import("../../../exports").DynamicClient) => Promise<CheckoutTransaction>;
//# sourceMappingURL=cancelCheckoutTransaction.d.ts.map