import { CheckboxProps as CoreCheckboxProps } from './internal/Checkbox'; import { DataTrackingId } from '../../types'; /** * Props for the Checkbox component * @property {boolean} [checked] - Controlled state * @property {boolean} [defaultChecked] - Uncontrolled state * @property {boolean} [indeterminate] - Indeterminate state of the checkbox * @property {boolean} [error] - Error state for the checkbox * @property {string | ReactElement} [label] - Label for checkbox * @property {string} [description] - Helper text description * @property {Object} [icons] - Icon overrides for different states * @property {(e?: ChangeEvent, state?: CheckboxState) => void} [onChange] - Change callback * @property {(e?: MouseEvent, state?: CheckboxState) => void} [onClick] - Click callback * @extends Omit * @extends DataTrackingId */ export type CheckboxProps = Omit & DataTrackingId; /** * Checkbox component for selecting one or more options from a list. * * Features: * - Controlled and uncontrolled state management * - Indeterminate state for partial selections * - Customizable icons for different states * - Error state with accessibility support * - Optional helper text and descriptions * - Full accessibility support with ARIA attributes * - Keyboard navigation support * - Layout utility props for positioning and spacing * - Automatic tracking ID generation for analytics * * @example * console.log('Checked:', state.checked)} * required * /> */ export declare const Checkbox: import('react').ForwardRefExoticComponent & DataTrackingId & import('react').RefAttributes> & { /** * CheckboxGroup component for grouping related checkboxes together. * * Features: * - Groups multiple checkboxes with a common legend * - Supports required field indication * - Optional helper text and descriptions * - Full accessibility support with fieldset/legend * - Focus management for keyboard navigation * - Layout utility props for positioning and spacing * - Flexible layout direction (row/column) * - Screen reader support with hidden labels * - Automatic tracking ID generation for analytics * * @example * * * * * */ Group: import('react').ForwardRefExoticComponent, HTMLFieldSetElement>, "ref"> & import('..').LayoutUtilProps & Omit & { required?: boolean; legend: string | import('react').ReactElement; legendProps?: Omit; error?: boolean | string | import('react').ReactElement | string[]; errorAriaLive?: import('../../internal').HelperProps["errorAriaLive"]; warning?: string | string[]; description?: import('../../internal').HelperProps["description"]; hint?: import('../../internal').HelperProps["hint"]; hideLabel?: boolean; } & import('react').RefAttributes>; };