dict, 'type' => dict, ); type TStructAnnotations = shape( 'struct' => dict, 'fields' => dict, ); type TServiceAnnotations = shape( 'service' => dict, 'functions' => dict>, ); type TEnumAnnotations = shape( 'enum' => dict, 'constants' => dict>, ); interface IThriftServiceStaticMetadata { public static function getAllStructuredAnnotations(): \TServiceAnnotations; } interface IThriftEnumStaticMetadata { public static function getAllStructuredAnnotations(): \TEnumAnnotations; } interface IThriftConstants { public static function getAllStructuredAnnotations( ): dict>; } interface IThriftExceptionMetadata { public static function getExceptionMetadata()[]: \tmeta_ThriftException; } interface IThriftStructMetadata { public static function getStructMetadata()[]: \tmeta_ThriftStruct; }