import { EventEmitter } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class GtrSwitchComponent implements ControlValueAccessor { ngControl: NgControl; /** * Checked state for gtr switch button * @returns boolean value */ checked: boolean; /** * Id for debugging the element * @returns boolean value */ switchId: string; /** * Disabled state for switch button * accept boolean value */ disabled: boolean; /** * Readonly state for switch button * accept boolean value */ readonly: boolean; /** * Readonly state for switch button * accept boolean value */ tabIndex: number; /** * To add label text for switches */ label?: string | number; dataTransactionName: string; /** * To detect value change events in gtr switch * @returns Custom event for latest checked state */ gtrChange: EventEmitter; constructor(ngControl: NgControl); onChanged: any; onTouched: any; writeValue(value: boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; /** * Local method to handle keyboard events for switch button */ handleKeyDown(event: KeyboardEvent): void; /** * Local method to handle click events for switch button */ handleClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }