import { EventEmitter, ChangeDetectorRef } from "@angular/core"; import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms"; import { TranslateService } from "@ngx-translate/core"; import * as i0 from "@angular/core"; export declare class RdSwitchComponent implements ControlValueAccessor, Validator { private cdr; private translate; label: string; name: string; tooltip: string; disabled: boolean; required: boolean; checkedChildren: string; unCheckedChildren: string; /** Local color context. Omit to inherit body `.theme-light` / `.theme-dark`. */ theme?: "light" | "dark"; get hostThemeLight(): boolean; get hostThemeDark(): boolean; errorMessages: { [key: string]: string; }; valueChange: EventEmitter; blur: EventEmitter; value: boolean; private touched; private onChange; private onTouched; private control; get currentErrorMessage(): string; get showError(): boolean; constructor(cdr: ChangeDetectorRef, translate: TranslateService); writeValue(value: boolean): void; registerOnChange(fn: (value: boolean) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; onBlur(): void; handleValueChange(value: boolean): void; validate(control: AbstractControl | null): ValidationErrors | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }