export default function useEventsAction(component: any): (node: any) => { destroy: () => void; };