/** * Produces an XML object that describes the ActionScript object named as the parameter of * the method. This method implements the programming concept of reflection for the * ActionScript language. * If the value parameter is an instance of a type, the returned XML object includes all the instance properties of that type, * but does not include any static properties. You can check for this condition when you parse the XML object by examining the value of the tag's isStatic attribute, which is false when the value parameter is an instance of a type.To obtain the static properties of a type, pass the type itself for the value parameter. The returned XML object includes not only the type's static properties, but also all of its instance properties. * The instance properties are nested inside a tag named to distinguish them from the static properties. * In this case, the isStatic attribute of the tag is true.Note: If you need only to traverse an object's inheritance hierarchy and do not need the other information provided by describeType(), * use the getQualifiedClassName() and getQualifiedSuperclassName() functions instead.The following table describes some of the tags and attributes of the XML object generated by describeType() * (all class and interface names returned are in fully qualified format):TagAttributeDescription The root tag of the XML object. nameThe name of the ActionScript object's data type. baseThe immediate superclass of the ActionScript object's defining class. If the ActionScript object is a class object, the value is Class. isDynamictrue if the ActionScript object's defining class is dynamic; false otherwise. If the ActionScript object is a class object, the value is true because the Class class is dynamic. isFinaltrue if the ActionScript object's defining class is final; false otherwise. isStatictrue if the ActionScript object is a class object or constructor function; false otherwise. This attribute is named isStatic because if it is true, any tags that are not nested inside the factory tag are static. There is a separate extendsClass tag for each superclass of the ActionScript object's defining class. typeThe name of a superclass that the ActionScript object's defining class extends. There is a separate implementsInterface tag for each interface implemented by the ActionScript object's defining class or any of its superclasses. typeThe name of an interface that the ActionScript object's defining class implements. An accessor is a property defined by getter and setter functions. nameThe name of the accessor. accessThe access rights of the property. Possible values include readonly, writeonly, and readwrite. typeThe data type of the property. declaredByThe class that contains the associated getter or setter functions. A constant is a property defined with the const statement. nameThe name of the constant. typeThe data type of the constant. A method is a function declared as part of a class definition. nameThe name of the method. declaredByThe class that contains the method definition. returnTypeThe data type of the method's return value. There is a separate parameter tag for each parameter that a method defines. This tag is always nested inside a tag. indexA number corresponding to the order in which the parameter appears in the method's parameter list. The first parameter has a value of 1. typeThe data type of the parameter. optionaltrue if the parameter is optional; false otherwise. A variable is a property defined with the var statement. nameThe name of the variable. typeThe data type of the variable. If the ActionScript object is a class object or constructor function, all instance properties and methods are nested inside this tag. If the isStatic attribute of the tag is true, all properties and methods that are not nested within the tag are static. This tag appears only if the ActionScript object is a class object or constructor function. * @param value The object for which a type description is desired. Any ActionScript value * may be passed to this method including all available ActionScript types, object * instances, primitive types such as uint, and class objects. * @return An XML object containing details about the object that was passed in as a parameter. * It provides the following information about the object: * * The class of the objectThe attributes of the classThe inheritance tree from the class to its base classesThe interfaces implemented by the classThe declared instance properties of the classThe declared static properties of the classThe instance methods of the classThe static methods of the class For each method of the class, the name, number of parameters, return type, * and parameter types Note:describeType() only shows public properties and methods, and will not show * properties and methods that are private, package internal or in custom namespaces. * @langversion 3.0 * @playerversion Flash 9 * @playerversion Lite 4 */ export declare const describeType: (value: any) => any;