import type { RefObject } from "react"; import type { JBButtonEventType, JBButtonWebComponent } from 'jb-button'; export type EventProps = { onClick?: (e: JBButtonEventType) => void; }; export declare function useEvents(element: RefObject, props: EventProps): void;