import { OnInit } from "@angular/core"; /** * Enum that will deal with determining what type of input the component should create */ export declare enum ModelType { none = 0, text = 1, number = 2, boolean = 3, date = 4, } export declare class ModelComponent implements OnInit { /** * The type of model that should be created */ type: ModelType; /** * If the model is required and should be sent into the angular 2 required API */ required: boolean; /** * Two way binded model that will be used when binding to the input */ model: any; /** * The key on the model that we should be using */ key: string; /** * The placeholder that should be used in the inputs */ placeholder: string; /** * Initialize the component once the application boots up */ ngOnInit(): void; /** * Helper method that will get the field schema to build out this model * * @return IFieldSchema * Will return a field schema used to build out the HTML input */ private getField(); }