import { CheckboxProps as MUICheckboxProps } from '@material-ui/core/Checkbox'; import React, { ReactNode } from 'react'; import { Omit } from '../types'; import { FormControlLabelProps, FormFieldProps } from './helpers'; export declare type CheckboxProps = Omit & FormFieldProps & { value?: boolean; onChange?: (value: boolean) => void; label?: ReactNode; id?: string; containerProps?: FormFieldProps; FormControlLabelProps?: FormControlLabelProps; }; export declare const Checkbox: React.MemoExoticComponent<({ value, onChange, label, error, description, disabled, required, fullWidth, margin, onBlur, onFocus, containerProps, FormControlLabelProps, ...props }: CheckboxProps) => JSX.Element>;