import { ChangeEvent, ReactElement } from 'react'; import { CommonProps } from '../common'; export interface CheckboxButtonProps extends Omit { /** * Whether the checkbox is checked. */ checked?: boolean; /** * Whether the checkbox is disabled. */ disabled?: boolean; /** * Id of element. */ id?: string; /** * Name of element, is used to refer to the form data for submission. */ name?: string; /** * Set the handler to handle `change` event. */ onChange?: (e: ChangeEvent) => void; /** * The size of the checkbox. */ size?: 'small' | 'medium' | 'large'; /** * Checkbox text. */ text: ReactElement | string; /** * Checkbox input value. */ value: string | number; } declare const CheckboxButton: ({ text, value, checked, disabled, onChange, size, name, id, className, style, sx, "data-test-id": dataTestId, }: CheckboxButtonProps) => ReactElement; export default CheckboxButton;