import * as _qualcomm_ui_qds_core_checkbox from '@qualcomm-ui/qds-core/checkbox'; import { QdsCheckboxApi, QdsCheckboxApiProps, QdsCheckboxSize } from '@qualcomm-ui/qds-core/checkbox'; import { CoreCheckboxControlDirective, CoreCheckboxErrorTextDirective, CoreCheckboxHintDirective, CoreCheckboxHiddenInputDirective, CoreCheckboxIndicatorDirective, CoreCheckboxLabelDirective, CoreCheckboxRootDirective } from '@qualcomm-ui/angular-core/checkbox'; import * as i0 from '@angular/core'; import { LucideIconOrString } from '@qualcomm-ui/angular-core/lucide'; import { SignalifyInput } from '@qualcomm-ui/angular-core/signals'; import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine'; import { BaseApiContextService } from '@qualcomm-ui/angular-core/machine'; import * as i10 from '@qualcomm-ui/angular/icon'; import * as i11 from '@qualcomm-ui/angular/checkmark'; /** * Visual control that wraps the checkbox indicator. */ declare class CheckboxControlComponent extends CoreCheckboxControlDirective { protected readonly qdsCheckboxContext: () => _qualcomm_ui_qds_core_checkbox.QdsCheckboxApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Error message displayed when the checkbox is invalid. */ declare class CheckboxErrorTextComponent extends CoreCheckboxErrorTextDirective { /** * Error indicator icon. * * @default CircleAlert */ readonly icon: i0.InputSignal; protected readonly qdsCheckboxContext: () => _qualcomm_ui_qds_core_checkbox.QdsCheckboxApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Hint text displayed below the checkbox. */ declare class CheckboxHintDirective extends CoreCheckboxHintDirective { protected readonly qdsCheckboxContext: () => _qualcomm_ui_qds_core_checkbox.QdsCheckboxApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Hidden input element used for accessibility and form submissions. Note: do not * apply form control bindings like `ngModel` or `formControl` to this element. * Apply them to the root element instead. */ declare class CheckboxHiddenInputDirective extends CoreCheckboxHiddenInputDirective { protected readonly qdsCheckboxContext: () => _qualcomm_ui_qds_core_checkbox.QdsCheckboxApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Visual indicator rendered within the control that displays the checkbox state * (checked, indeterminate, or unchecked). */ declare class CheckboxIndicatorComponent extends CoreCheckboxIndicatorDirective { protected readonly qdsCheckboxContext: () => _qualcomm_ui_qds_core_checkbox.QdsCheckboxApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * An accessible label that is automatically associated with the checkbox. */ declare class CheckboxLabelDirective extends CoreCheckboxLabelDirective { protected readonly qdsCheckboxContext: () => _qualcomm_ui_qds_core_checkbox.QdsCheckboxApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class QdsCheckboxContextService extends BaseApiContextService { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const QDS_CHECKBOX_CONTEXT: i0.InjectionToken<() => QdsCheckboxApi>; declare const useQdsCheckboxContext: (opts?: _qualcomm_ui_angular_core_machine.UseContextOpts | undefined) => Optional extends true ? (() => QdsCheckboxApi) | null : () => QdsCheckboxApi; declare const provideQdsCheckboxContext: () => i0.Provider[]; /** * Groups all parts of the checkbox. */ declare class CheckboxRootDirective extends CoreCheckboxRootDirective implements SignalifyInput { /** * The size of the checkbox and its elements. Governs properties like label font * size, control size, and indicator size. * @default 'md' */ readonly size: i0.InputSignal; readonly qdsCheckboxService: QdsCheckboxContextService; private readonly fieldGroupContext; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class CheckboxComponent extends CheckboxRootDirective { /** * Optional error that describes the checkbox when the field is invalid. This * element is automatically associated with the checkbox for accessibility. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html * * ``` */ readonly errorText: i0.InputSignal; /** * Optional hint text displayed below the checkbox. Hints are hidden when the * checkbox is invalid. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html * * ``` */ readonly hint: i0.InputSignal; /** * Optional label describing the checkbox. This element is automatically * associated with the checkbox for accessibility. If omitted, you should provide * an `aria-label` or `aria-labelledby` attribute on the `q-checkbox-hidden-input` * element. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html * * ``` */ readonly label: i0.InputSignal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CheckboxModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { CheckboxComponent, CheckboxControlComponent, CheckboxErrorTextComponent, CheckboxHiddenInputDirective, CheckboxHintDirective, CheckboxIndicatorComponent, CheckboxLabelDirective, CheckboxModule, CheckboxRootDirective, QDS_CHECKBOX_CONTEXT, QdsCheckboxContextService, provideQdsCheckboxContext, useQdsCheckboxContext }; //# sourceMappingURL=qualcomm-ui-angular-checkbox.d.ts.map