import { CheckBoxControl } from '@odx/angular/cdk/checkbox-control'; import * as i0 from '@angular/core'; import * as i1 from '@odx/angular'; import { CheckboxRequiredValidator } from '@angular/forms'; /** * SwitchComponent provides a custom switch (toggle) control that can be used within forms * or standalone for toggling a specific binary state. It supports readonly and disabled states, * and integrates seamlessly with Angular's form controls for data binding and state management. * Has host directives for disabled state handling. * Extends CheckBoxControl to provide additional behavior. * * @see {WithDisabledState} * @see {CheckBoxControl} */ declare class SwitchComponent extends CheckBoxControl { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SwitchValidator extends CheckboxRequiredValidator to provide required field validation * for switch components used within Angular forms. It ensures that the switch is marked as required * and must be toggled (checked) to meet form validation criteria. * * This directive automatically attaches itself to any switch component with a 'required' attribute * and a form control binding (formControlName, formControl, or ngModel). * * Extends CheckboxRequiredValidator. * * @see {CheckboxRequiredValidator} */ declare class SwitchValidator extends CheckboxRequiredValidator { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SwitchModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { SwitchComponent, SwitchModule, SwitchValidator };