import { default as React } from 'react'; import { CommonInputProps, HTMLInputProps } from '../types'; /** @inheritdoc */ export interface CheckboxProps extends CommonInputProps { /** * Whether the checkbox is checked. */ checked?: boolean; /** * Whether the checkbox is checked by default. * This is useful for uncontrolled components. */ defaultChecked?: boolean; /** * Whether the checkbox is indeterminate. * This is useful for mixed states. It has no effect on the `checked` state. */ indeterminate?: boolean; /** * The value of the checkbox input. * Rarely used for checkboxes, as checked is enough in most cases. * Affects the value submitted with HTML forms ('on' by default). */ value?: HTMLInputProps['value']; } export declare const getCheckboxProps:

({ error, warning, checked, indeterminate, disabled, label, ...rest }: P) => Omit & { label: string; type: string; className: string; 'data-disabled': boolean | undefined; 'aria-disabled': boolean | undefined; disabled: boolean | undefined; 'data-checked': boolean | undefined; checked: boolean | undefined; }; export declare const Checkbox: React.ForwardRefExoticComponent>;