import structureInterfaces = require("./structureInterfaces"); /** * Types of node recognizable by default decorator. */ export declare enum NodeType { ATTRIBUTE = 0, RESOURCE = 1, METHOD = 2, SECURITY_SCHEME = 3, TYPE_DECLARATION = 4, ANNOTATION_DECLARATION = 5, DOCUMENTATION_ITEM = 6, EXTERNAL_UNIT = 7, UNKNOWN = 8, OTHER = 9, } /** * Icon and text style. */ export interface Decoration { icon: string; textStyle: string; } /** * Structured node having default type assigned by decorator. */ export interface TypedStructureNode extends structureInterfaces.StructureNode { type: NodeType; } /** * Chesk if instance is of TypedStructureNode type. * @param node */ export declare function isTypedStructureNode(node: structureInterfaces.StructureNode): node is TypedStructureNode;