import { EventEmitter, OnDestroy, OnChanges } from '@angular/core'; import { Subscription } from 'rxjs'; import { CoreCommonService } from '../../providers/services/common.service'; import { CoreHttpService } from '../../utilities/services/http.service'; export declare class CheckboxComponent implements OnDestroy, OnChanges { private coreCommonService; private coreHttpService; field: any; form: any; type: any; dynamicControlScope: any; parentScope: any; controlReady: EventEmitter; subscription: Subscription; constructor(coreCommonService: CoreCommonService, coreHttpService: CoreHttpService); /** * A callback method that is invoked if any data-bound properties change */ ngOnChanges(): void; /** * This method will handle control load * NOTE: Sequence of function calls need to be exactly same as below */ private handleControlLoad; /** * This method will register the events */ private registerEvents; /** * This method will notify when control is ready */ private notifyControlLoadComplete; /** * getter function to check mandatory fields */ get isMandatory(): boolean; /** * Dynamic function to call the function by name */ callFunctionByName(fnName: string, ...params: any): Promise; /** * This method will register checkbox value change */ private registerValueChange; /** * Unsubscribe Observables and detach event handlers to avoid memory leaks */ ngOnDestroy(): void; }