import * as i0 from '@angular/core'; import { AfterViewInit, OnInit, AfterContentInit, EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { IonicElementPartHelper } from '@kirbydesign/designsystem/helpers'; declare class CheckboxComponent implements AfterViewInit, ControlValueAccessor, OnInit, AfterContentInit { private element; private ionicElementPartHelper; private cdr; private ionCheckboxElement?; checked: boolean; indeterminate: boolean; attentionLevel: '1' | '2'; text: string; size: 'xs' | 'sm' | 'md'; hasError: boolean; disabled: boolean; get _isDisabled(): string; get isAttentionLevel1(): boolean; get isAttentionLevel2(): boolean; _labelText: string; checkedChange: EventEmitter; _justify: 'start' | 'end' | 'space-between'; _labelPlacement: 'end' | 'fixed' | 'stacked' | 'start'; _hasSlottedContent: boolean; constructor(element: ElementRef, ionicElementPartHelper: IonicElementPartHelper, cdr: ChangeDetectorRef); ngOnInit(): void; ngAfterViewInit(): void; ngAfterContentInit(): void; onChecked(checked: boolean): void; onBlur(): void; private _onChange; private _onTouched; /** * Sets the checkbox's value. Part of the ControlValueAccessor interface * required to integrate with Angular's core forms API. * * @param value New value to be written to the model. */ writeValue(value: boolean): void; /** * Saves a callback function to be invoked when the checkbox's value * changes from user input. Part of the ControlValueAccessor interface * required to integrate with Angular's core forms API. * * @param fn Callback to be triggered when the value changes. */ registerOnChange(fn: any): void; /** * Saves a callback function to be invoked when the checkbox is blurred * by the user. Part of the ControlValueAccessor interface required * to integrate with Angular's core forms API. * * @param fn Callback to be triggered when the component has been touched. */ registerOnTouched(fn: any): void; /** * Disables the checkbox. Part of the ControlValueAccessor interface required * to integrate with Angular's core forms API. * * @param isDisabled Sets whether the component is disabled. */ setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export { CheckboxComponent }; //# sourceMappingURL=kirbydesign-designsystem-checkbox.d.ts.map