import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core'; import { CheckboxControlValueAccessor, RadioControlValueAccessor } from '@angular/forms'; import * as ɵngcc0 from '@angular/core'; export declare class CloChoiceLabel { templateRef: TemplateRef; constructor(templateRef: TemplateRef); static ɵfac: ɵngcc0.ɵɵFactoryDeclaration; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration; } export declare class CloChoiceOption { isDefault: boolean; label: string; value: any; id: string; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration; } export declare class CloRadioOption extends RadioControlValueAccessor { /** * Boolean value to determine if input is disabled */ disabled: boolean; isDefault: boolean; label: string; id: string; name: string; radioValue: string | number | boolean; values: {}; val: string | number | boolean; onChange: any; onTouched: any; setDisabled: any; change(value: string | number | boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; writeValue(value: string | number | boolean): void; ngOnInit(): void; setDisabledState(isDisabled: boolean): void; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration; } export declare class CloCheckboxOption extends CheckboxControlValueAccessor { /** * Boolean value to determine if input is disabled */ disabled: boolean; isDefault: boolean; label: string; value: any; id: string; onChange: (_: any) => void; onBlur: (_: any) => void; isChecked: boolean; onTouched: any; setDisabled: any; setDisabledState(isDisabled: boolean): void; writeValue(obj: boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onChanged($event: any): void; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration; } /** * */ export declare class CloInputChoice implements OnInit { options: QueryList; radioOptions: QueryList; checkboxOptions: QueryList; /** * Boolean value to determine if input is disabled */ disabled: boolean; /** * Type of the input. * * The following types are supported: `'radio'`, `'checkbox'` */ type: 'radio' | 'checkbox'; /** * The input name */ name: string; /** * An error message */ errorMessage: boolean; /** * Boolean to determine if input is required */ required: boolean; inline: boolean; change: EventEmitter; ngOnInit(): void; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration; static ɵcmp: ɵngcc0.ɵɵComponentDeclaration; } //# sourceMappingURL=choice-input.d.ts.map