import { DOMNode } from './dom-node' ; export interface InspectorCommands { getDocument ( ) : string | DOMNode ; removeNode ( nodeId ) : void ; getComputedStylesForNode ( nodeId ) : string | Array < { name : string ; value : string ; } > ; setAttributeAsText ( nodeId , text , name ) : void ; } export interface InspectorEvents { childNodeInserted ( parentId , lastId , node ) : void ; childNodeRemoved ( parentId , nodeId ) : void ; attributeModified ( nodeId , attrName , attrValue ) : void ; attributeRemoved ( nodeId , attrName ) : void ; }