export enum ComponentType { Device = "Device" , IoTHub = "IoTHub" , AzureFunctions = "AzureFunctions" , IoTHubDevice = "IoTHubDevice" } export interface Component { name : string ; id : string ; load ( ) : Promise < void > ; create ( ) : Promise < void > ; checkPrerequisites ( operation ) : Promise < void > ; getComponentType ( ) : ComponentType ; }