import { ControlValueAccessor } from '@angular/forms'; export declare class CheckboxComponent implements ControlValueAccessor { /** * If the checkbox is selected. * @type {boolean} */ selected: boolean; /** * The label for the checkbox. * @type {string} */ label: string; /** * If the checkbox is disabled. * @type {boolean} */ disabled: boolean; /** * If the checkbox should have bottom margin. * @type {boolean} */ grouped: boolean; /** * If the checkbox should have single bottom margin. * @type {boolean} */ single: boolean; onTouchedCallback: () => void; onChangeCallback: (_: boolean) => void; /** * Saves the new value. * * @param {boolean} value The new value of the checkbox. */ writeValue(value: boolean): void; /** * Registers a change in the input. * * @param {(_: boolean) => void} method The onChange callback. */ registerOnChange(method: (_: boolean) => void): void; /** * Registers a touch. * * @param {() => void} method The touch callback. */ registerOnTouched(method: () => void): void; /** * Triggers when the input is set to a disabled state. * * @param {boolean} isDisabled Boolean if the input is disabled. */ setDisabledState(isDisabled: boolean): void; }