Alternative for import com.vaadin.flow.component.dialog.Dialog.GeneratedVaadinDialog.OpenedChangeEve

I’ve a lob which is using this import com.vaadin.flow.component.dialog.Dialog.GeneratedVaadinDialog.OpenedChangeEvent; which is not found in V24. Please let me know the alternative so that the lib can be updated

same for 1`com.vaadin.flow.component.contextmenu.GeneratedVaadinContextMenu.OpenedChangeEvent``