import type { ActionType, UserEvents } from '../../core/user-events';
/**
 * Creates a click handler that automatically logs an analytics event before executing the provided handler function.
 *
 * @param userEvents - The UserEvents instance from the analytics context.
 * @param label - The label describing the button or element being clicked.
 * @param action - The type of action performed.
 * @param handler - The actual function to execute when the click occurs.
 * @returns A higher-order function that handles the click, logs the event, and calls the original handler.
 */
export declare const trackClickHandler: (userEvents: UserEvents, label: string, action: ActionType, handler: () => void | Promise<void>) => () => void;
