import * as React from 'react'; import { InputChangeEvent, InputProps } from '../../common'; import { FormContextProps } from '../../hoc'; import { GroupContextProps } from '../../hoc/withGroupContext'; export declare type CheckboxChangeEvent = InputChangeEvent; export interface CheckboxProps extends InputProps, FormContextProps, GroupContextProps { /** * The content of the checkbox. */ children?: React.ReactNode; } export interface CheckboxState { value: boolean; error?: React.ReactChild; controlled: boolean; } export declare class CheckboxInt extends React.PureComponent { readonly name?: string; constructor(props: CheckboxProps); UNSAFE_componentWillReceiveProps({ value, error }: CheckboxProps): void; componentDidMount(): void; componentWillUnmount(): void; setValue: (value: boolean) => void; private toggle; private changeValue; private control; render(): JSX.Element; static inner: { readonly PaddedContainer: React.FC & { inner: { readonly StyledContainer: any; }; }; readonly InputNotification: React.FC & { inner: { readonly InputError: typeof import("..").InputError; readonly InputInfo: typeof import("..").InputInfo; }; }; readonly CheckboxContainer: any; readonly RealCheckbox: any; readonly FlexContainer: any; readonly CheckboxBox: any; readonly Icon: React.FC & { inner: { readonly StyledIcon: any; }; }; readonly Label: React.SFC & { inner: { readonly Styledlabel: any; }; }; }; } /** * The checkbox input field. */ export declare const Checkbox: React.SFC;