import { default as React, ChangeEventHandler, ReactNode } from 'react'; export type CheckboxFieldProps = Readonly<{ /** * className for the element. */ className?: string; /** * The name of the CheckboxField, used when submitting an HTML form. */ name?: string; /** * Whether the CheckboxField is disabled. */ isDisabled?: boolean; /** * Whether the checkbox is indeterminate. */ isIndeterminate?: boolean; /** * Whether the CheckboxField should fit its parent or content. * @default content */ fit?: 'content' | 'parent'; /** * The id of the CheckboxField. */ id?: string; /** * Whether the checkbox is checked. */ isChecked: boolean; /** * Content to display in the label. */ label: ReactNode; /** * The current value (controlled). */ value?: string; /** * Handler that is called when the value changes. */ onChange: ChangeEventHandler; }>; export declare const CheckboxField: ({ className, name, isDisabled, isIndeterminate, fit, id, isChecked, label, value, onChange, ...rest }: CheckboxFieldProps) => React.JSX.Element; //# sourceMappingURL=CheckboxField.d.ts.map