import { FC, ChangeEvent, ReactNode, MouseEvent } from 'react'; export type InputType = 'checkbox' | 'radio'; export interface Props { checked: boolean; className?: string; editable?: boolean; error?: boolean; errorMessage?: string; extraInfo?: string; hasDarkTooltips?: boolean; id: string; label: string | ReactNode; name?: string; /** The checked value can be optained by using `event.target.checked` */ onChange?: (event: ChangeEvent) => void; onClick?: (event: MouseEvent, checked: boolean) => void; /** Sets the input type to 'checkbox' or 'radio' */ type?: InputType; } declare const Checkbox: FC; export default Checkbox;