extract type information for ValueDecl