public static function toDict<T as shape()>( darray $shape, ): dict<arraykey, mixed>;
darray $shape
dict<arraykey, mixed>