import React from 'react'; import { Div } from '@cloudflare/elements'; declare type CheckboxProps = { id?: string; name: string; value: string; label?: string | boolean | React.ReactNode; checked?: boolean; onChange?: React.ChangeEventHandler; disabled?: boolean; type?: string; indeterminate?: boolean; testId?: string; spacing?: number; invalid?: boolean; noLabel?: boolean; display?: string; className?: string; unwrap?: boolean; marginRight?: string | number; size?: number; tabIndex?: number; }; declare type Props = Omit, keyof CheckboxProps | 'onChange'> & CheckboxProps; declare function Checkbox({ id, name, className, indeterminate, checked, value, onChange, disabled, testId, label, invalid, noLabel, spacing, unwrap, marginRight, size, tabIndex, ...labelProps }: Props): JSX.Element; export default Checkbox;