/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { FocusMonitor } from '@angular/cdk/a11y'; import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, TemplateRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { Direction, Directionality } from '@angular/cdk/bidi'; import { VtsConfigKey, VtsConfigService } from '@ui-vts-kit/ng-vts/core/config'; import { BooleanInput, VtsSizeDSType, OnChangeType, OnTouchedType } from '@ui-vts-kit/ng-vts/core/types'; import * as i0 from "@angular/core"; export declare class VtsSwitchComponent implements ControlValueAccessor, AfterViewInit, OnDestroy, OnInit { vtsConfigService: VtsConfigService; private cdr; private focusMonitor; private directionality; readonly _vtsModuleName: VtsConfigKey; static ngAcceptInputType_vtsLoading: BooleanInput; static ngAcceptInputType_vtsDisabled: BooleanInput; static ngAcceptInputType_vtsControl: BooleanInput; isChecked: boolean; onChange: OnChangeType; onTouched: OnTouchedType; private switchElement?; vtsLoading: boolean; vtsDisabled: boolean; vtsControl: boolean; vtsCheckedChildren: string | TemplateRef | null; vtsUnCheckedChildren: string | TemplateRef | null; vtsSize: VtsSizeDSType; dir: Direction; private destroy$; onHostClick(e: MouseEvent): void; updateValue(value: boolean): void; onKeyDown(e: KeyboardEvent): void; focus(): void; blur(): void; constructor(vtsConfigService: VtsConfigService, cdr: ChangeDetectorRef, focusMonitor: FocusMonitor, directionality: Directionality); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; writeValue(value: boolean): void; registerOnChange(fn: OnChangeType): void; registerOnTouched(fn: OnTouchedType): void; setDisabledState(disabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }