import { EventEmitter, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; export declare abstract class RcFormControlAbstract implements OnInit { /** * Form control - optional */ control: FormControl; /** * Will be insert into the DOM element as id */ elementId: string; /** * If not empty - will be displayed under the checkbox with role alert and 'invalid-feedback-message' class */ errorMsg: string; /** * Component wrapper class name */ className: string; /** * accessibility aria-label */ ariaLabel: string; /** * accessibility aria-labeledby */ ariaLabeledBy: string; /** * accessibility aria-describedby */ ariaDescribedBy: string; disabled: boolean; _disabled: boolean; /** * Callback function that will be emitted on change */ onChangedCallback: EventEmitter; focusCallback: EventEmitter; blurCallback: EventEmitter; constructor(); protected validateInputs(): void; /** * Instantiate a form control instance if not provided */ ngOnInit(): void; /** * get checkbox describedby attribute * @returns string */ getAriaDescribedBy(): string; /** * get error element id * @returns string */ readonly errorElementId: string; /** * emit an Output function on change */ onChange($event?: any): void; /** * emit an Output function on change */ onFocus($event?: any): void; /** * emit an Output function on change */ onBlur($event?: any): void; }