import React from 'react'; import type { CheckboxProps } from '@toptal/picasso-checkbox'; import type { FieldProps } from '../Field'; type CheckboxValue = CheckboxProps['value'] | CheckboxProps['checked']; type CheckboxFormProps = Omit & { required?: boolean; }; type CheckboxWithoutGroup = CheckboxFormProps & FieldProps; type CheckboxInGroup = CheckboxFormProps & { name?: string; }; export type Props = CheckboxWithoutGroup | CheckboxInGroup; export declare const Checkbox: { ({ name, value, required, label, defaultValue, ...restProps }: Props): React.ReactElement; displayName: string; }; export default Checkbox; //# sourceMappingURL=Checkbox.d.ts.map