import { AfterViewChecked, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core'; import { Subject } from "rxjs"; import { LabelPosition } from "../control-group/option"; import { DomSanitizer, SafeStyle } from "@angular/platform-browser"; export declare class AzoraSwitch implements OnInit, OnChanges, AfterViewChecked, OnDestroy { private _vcRef; private _cd; private _element; private _renderer; private _sanitizer; label: string; value: string; name: string; change: Subject<{}>; modelChange: Subject<{}>; blur: Subject<{}>; focus: Subject<{}>; /** Whether the label should appear after or before the Switch button. Defaults to 'after' */ labelPosition: LabelPosition; /** Whether the Switch button is disabled. */ disabled: boolean; /** Whether this Switch button is checked. */ checked: boolean; model: any; /** Theme color palette for the component. */ color: string | SafeStyle; private _color; private readonly _inputElement; /** Whether this Switch is checked. */ private _checked; private _labelPosition; /** Whether this Switch is disabled. */ private _disabled; private _model; /** Whether this Switch is required. */ private _required; /** Value assigned to this Switch. */ private _value; /** * Template for AzSwitch content. * @docs-private */ private _implicitContent; /** * Template provided inside the AzSwitch view that will be used if present * @docs-private */ private _explicitContent; constructor(_vcRef: ViewContainerRef, _cd: ChangeDetectorRef, _element: ElementRef, _renderer: Renderer2, _sanitizer: DomSanitizer); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterViewChecked(): void; ngOnDestroy(): void; onFocus: (e: Event) => void; onBlur: (e: Event) => void; _onInputClick(event: Event): void; /** * Triggered when the Switch button received a click or the input recognized any change. * Clicking on a label element, will trigger a change event on the associated input. */ _onInputChange(event: Event): void; /** Dispatch change event with current value. */ private _emitChangeEvent; } export declare class AzoraSwitchModule { }