import React from 'react'; import { LabelProps } from '../Label'; export interface CheckboxProps extends Omit, 'onChange' | 'onClick'> { /** Whether or not the checkbox is checked */ checked?: boolean; /** Adds one or more classnames for an element */ className?: string; /** Whether the checkbox is in a disabled state */ disabled?: boolean; /** Visual error state for the checkbox */ error?: boolean; /** Whether or not the checkbox is focused */ focus?: boolean; /** ID for the form */ id?: string; /** Indeterminate visual for a checkbox */ indeterminate?: boolean; /** Text associatged with the label of a checkbox */ label?: LabelProps['children']; /** Property options for the label */ labelProps?: LabelProps; /** Calls when the checkbox changes in value */ onChange?: (value: T, checked: boolean, event: React.SyntheticEvent) => void; /** Calls when the checkbox is clicked */ onClick?: (event: React.MouseEvent, data: CheckboxProps) => void; /** HTML Checkbox name value */ name?: string; /** Same as disabled state. Legacy Semantic prop. */ readonly?: boolean; /** Controls the size of the checkboxes */ size?: 'small' | 'medium' | 'large'; /** HTML Checkbox value */ value?: T; } export declare const Checkbox: (props: React.PropsWithoutRef> & React.RefAttributes) => React.ReactElement | null;