import type { CheckoutTransaction } from '@dynamic-labs/sdk-api-core';
import type { DynamicClient } from '../../../client/types';
export type BroadcastCheckoutTransactionParams = {
    transactionId: string;
    /**
     * The on-chain transaction hash. Required for wallet sources, optional
     * for exchange sources (the user may not have it).
     */
    txHash?: string;
};
/**
 * Records that a checkout transaction has been broadcasted.
 *
 * For wallet sources, pass the `txHash` from the on-chain transaction.
 * For exchange sources, `txHash` can be omitted — the user confirms
 * they completed the payment and the transaction moves to `broadcasted`.
 *
 * @deprecated Use {@link broadcastFlow} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
 *
 * @param params BroadcastCheckoutTransactionParams - The transaction ID and optional tx hash.
 * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
 * @returns The updated checkout transaction
 * @instrumented
 * @noHook Legacy checkout function not exposed as a React hook; the checkout product is being renamed to flow.
 */
export declare const broadcastCheckoutTransaction: ({ transactionId, txHash }: BroadcastCheckoutTransactionParams, client?: DynamicClient) => Promise<CheckoutTransaction>;
//# sourceMappingURL=broadcastCheckoutTransaction.d.ts.map