import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms'; import { FocusMonitor } from '@angular/cdk/a11y'; import { RealsoftSlideToggleDefaultOptions } from './config'; import * as i0 from "@angular/core"; export declare const REALSOFT_SLIDE_TOGGLE_VALUE_ACCESSOR: { provide: import("@angular/core").InjectionToken; useExisting: import("@angular/core").Type; multi: boolean; }; export declare class RealsoftSlideToggleChange { source: RealsoftSlideToggle; checked: boolean; constructor(source: RealsoftSlideToggle, checked: boolean); } export declare class RealsoftSlideToggle implements ControlValueAccessor, Validator, AfterContentInit, OnDestroy, OnChanges { private _elementRef; protected _focusMonitor: FocusMonitor; protected _changeDetectorRef: ChangeDetectorRef; defaultOptions: RealsoftSlideToggleDefaultOptions; animationMode: "NoopAnimations" | "BrowserAnimations"; private _onChange; private _onTouched; private _validatorOnChange; private _uniqueId; private _checked; /** Unique ID for the label element. */ _labelId: string; _noAnimations: boolean; _focused: boolean; private _required; private _disabled; name: string | null; id: string; labelPosition: 'before' | 'after'; ariaLabel: string | null; ariaLabelledby: string | null; ariaDescribedby: string; get required(): boolean; set required(value: boolean); get disabled(): boolean; set disabled(newValue: boolean); get checked(): boolean; set checked(value: boolean); hideIcon: boolean; disabledInteractive: boolean; readonly change: EventEmitter; readonly toggleChange: EventEmitter; constructor(); ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; get buttonId(): string; get inputId(): string; _toggleElement: ElementRef; focus(): void; toggle(): void; _handleInputClick(): void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; registerOnValidatorChange(fn: () => void): void; validate(control: AbstractControl): ValidationErrors | null; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_required: unknown; static ngAcceptInputType_disabled: unknown; static ngAcceptInputType_checked: unknown; static ngAcceptInputType_hideIcon: unknown; static ngAcceptInputType_disabledInteractive: unknown; }