import { default as React, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from 'react'; export type CheckboxInputProps = Readonly<{ /** * className for the element. */ className?: string; /** * The id of the CheckboxInput. */ id?: string; /** * The name of the CheckboxInput, used when submitting an HTML form. */ name?: string; /** * Whether the CheckboxInput is disabled. * @default false */ isDisabled?: boolean; /** * Whether the checkbox is indeterminate. * @default false */ isIndeterminate?: boolean; /** * Whether the checkbox is checked. */ isChecked: boolean; /** * The current value (controlled). */ value?: string; /** * Handler that is called when the value changes. */ onChange: ChangeEventHandler; /** * Handler that is called when the input is clicked. */ onClick?: MouseEventHandler; /** * Handler that is called when a key is pressed. */ onKeyDown?: KeyboardEventHandler; }>; export declare const CheckboxInput: ({ className, id, name, isDisabled, isIndeterminate, isChecked, value, onChange, onClick, ...rest }: CheckboxInputProps) => React.JSX.Element; //# sourceMappingURL=CheckboxInput.d.ts.map