Friendly assemblies in .asmdef file

Is there any way to define friendly assemblies in .asmdef file for access to internals?
I mean such as AssemblyInfo.cs file record:

[assembly: InternalsVisibleTo("SomeFriendlyAsseblyName")]

It seems the option must be located in a compileable file. Pity…