change typehints to interface
covert to import statements