import React, { ChangeEventHandler } from 'react'; import { Props } from '../../../common'; export interface ICheckboxInputProps { /** ID of the input */ id?: string; /** Name of the input */ name: string; /** Custom classname to use */ className?: string; /** Function passed to `onChange` prop */ handleChange?: ChangeEventHandler; /** Called when the input is changed */ onChange?: (value: boolean) => void; /** Value of the input */ value?: string | number | boolean; /** If true, sets input to disabled state */ isDisabled?: boolean; /** Handle blur event */ handleBlur?: (e: React.FocusEvent, value?: string | number) => void; /** Handle key down events */ handleKeyDown?: (e: React.KeyboardEvent) => void; /** If true, use HTML5 required attribute */ isHTML5Required?: boolean; /** Add autofocus attribute to input */ autoFocus?: boolean; /** The component context */ componentContext?: string; /** The margins around the component */ margins?: Props.IMargins; /** Label to display next to the checkbox */ label: JSX.Element | string; /** If true, the checkbox is wrapped by a button */ isButton?: boolean; indeterminate?: boolean; } export declare class CheckboxInput extends React.PureComponent> { static defaultProps: Partial; render(): JSX.Element; private get isChecked(); private get value(); private get infoLabel(); private get classNames(); private handleChange; }