import * as i0 from '@angular/core';
import { EventEmitter } from '@angular/core';
import { CheckBoxControl } from '@odx/angular/cdk/checkbox-control';
import * as i1 from '@odx/angular';
import { CheckboxRequiredValidator } from '@angular/forms';
/**
* Represents a checkbox component.
* @extends {CheckBoxControl}
*
* @remarks
* To add subtitle text to the checkbox, use class `odx-checkbox__subtitle` in template's content.
*
* @example
* ```html
*
* Checkbox label
* Subtitle text
*
* ```
*/
declare class CheckboxComponent extends CheckBoxControl {
private isIndeterminate;
/**
* Gets or sets a value indicating whether the checkbox is in an indeterminate state.
*
* @type {boolean}
*
* @remarks
* The indeterminate state is typically used when the checkbox represents a group of checkboxes
* and not all of them are checked or unchecked.
*/
set indeterminate(value: boolean);
get indeterminate(): boolean;
/**
* Emits a boolean value when the indeterminate state of the checkbox changes.
*
* @emits {boolean} The new value of the indeterminate state.
*/
readonly indeterminateChange: EventEmitter;
/**
* Gets the value of the `ariaChecked` attribute.
*
* @returns {string} - The value of the `ariaChecked` attribute as a string.
*/
get ariaChecked(): string;
/**
* Gets the modifier icon for the checkbox component.
*
* @returns {string} 'minus' if the checkbox is in indeterminate state, otherwise returns 'check'.
*/
get modifierIcon(): string;
onChanged(event: Event): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
static ngAcceptInputType_indeterminate: unknown;
}
/**
* A directive that extends Angular's `CheckboxRequiredValidator` for use with `odx-checkbox` components,
* enforcing required validation. This directive ensures that an `odx-checkbox` marked as required
* is checked in order to be considered valid within a form.
*
* The directive is automatically applied to `odx-checkbox` elements that have the `required` attribute
* along with either `formControlName`, `formControl`, or `ngModel` directives, making it integrate seamlessly
* with both reactive and template-driven forms.
*
* @example
* ```html
*
*
*
*
*
* ```
*
* By using this directive, forms containing `odx-checkbox` components with the required validation
* will ensure the checkbox is checked before considering the form valid.
*
* @extends {CheckboxRequiredValidator} Inherits the behavior of Angular's `CheckboxRequiredValidator`.
*/
declare class CheckboxValidator extends CheckboxRequiredValidator {
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
declare class CheckboxModule {
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵmod: i0.ɵɵNgModuleDeclaration;
static ɵinj: i0.ɵɵInjectorDeclaration;
}
export { CheckboxComponent, CheckboxModule, CheckboxValidator };