Not sure why I haven’t found it in the first place
but BlueprintInternalUseOnly
UFUNCTION Specifier is exacly what I was looking for:
After implementing these functions (Begin Main Window / End Main Window), I just added BlueprintInternalUseOnly
Specifier to their declarations, and now they are not appearing in the search result but I still can use macro in which I used them.