import { type ChangeEvent } from 'react'; import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import { DataTestId } from '../../core/types/data-props.js'; import type { FocusEvents } from '../../core/types/events.js'; import type { FormControlProps } from '../../core/types/form-control-props.js'; import { MaskingProps } from '../../core/types/masking-props.js'; import { StylingProps } from '../../core/types/styling-props.js'; import { WithChildren } from '../../core/types/with-children.js'; import type { FormControlRef } from '../shared-types.js'; /** * @public */ export type CheckboxProps = FormControlProps) => void | never> & FocusEvents & StylingProps & DataTestId & WithChildren & MaskingProps & BehaviorTrackingProps & { /** * A string representing the value used for the checkbox. * When submitted in a form, it is only submitted if checked, with the set value. * If undefined, the string 'on' is submitted by default as per https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#attr-value. */ formValue?: string; }; /** * Checkboxes allow the user to select one or more options from a list of options. * @public */ export declare const Checkbox: (props: CheckboxProps & import("react").RefAttributes>) => import("react").ReactElement | null;