import { type ChangeEvent } from 'react'; import { type DataTestId, type MaskingProps, type StylingProps, type WithChildren } from '@dynatrace/strato-components/core'; import type { FocusEvents } from '../../core/types/events.js'; import type { FormControlProps } from '../../core/types/form-control-props.js'; import type { FormControlRef } from '../shared-types.js'; /** * @public */ export type CheckboxProps = FormControlProps) => void | never> & FocusEvents & StylingProps & DataTestId & WithChildren & MaskingProps & { /** * 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>) => React.ReactElement | null;