Import api & types in index