declare type ClickEventOptions = {
  composed?: boolean;
  preventDefault?: boolean;
};
/**
 * It returns a function that takes a KeyboardEvent and dispatches a click event on the currentTarget if the key is Enter.
 *
 * @param {ClickEventOptions} options - An optional object that can contain a "composed" property to specify whether the dispatched event should be composed.
 * @returns {(e: KeyboardEvent) => void } A function that takes a KeyboardEvent and dispatches a click event on the currentTarget.
 */
export declare function createEnterKeyHandlerToTriggerClick(options?: ClickEventOptions): (e: KeyboardEvent) => void;
export {};
