import React from 'react'; import { HTMLInputProps, Omit } from '../../interfaces/props'; export interface CheckboxOwnProps { className?: string; size: number; style?: React.CSSProperties; inputStyle?: React.CSSProperties; inline?: boolean; allowMessage?: string; checked?: boolean; disabled?: boolean; warnMessage?: string; errorMessage?: string; inputAttributes?: HTMLInputProps; onChange?: (e: React.ChangeEvent) => void; } export declare type OmittedCheckboxAttributes = Omit; export interface CheckboxProps extends CheckboxOwnProps { inputAttributes?: OmittedCheckboxAttributes; } export declare class Checkbox extends React.PureComponent { static defaultProps: Partial; render(): JSX.Element; private handleChange; }