import { ChangeEvent, ReactElement } from 'react'; import { CommonProps } from '../common'; export interface SelectButtonProps extends Omit { /** * Specify whether the option is disabled. */ disabled?: boolean; /** * Id of element. */ id?: string; /** * Name of element, is used to refer to the form data for submission. */ name?: string; /** * Change event handler. Use `event.target.checked` to see whether the button will be changed to checked. */ onChange?: (e: ChangeEvent) => void; /** * Whether the button is being chosen. */ selected?: boolean; /** * The size of the select button. */ size?: 'small' | 'medium' | 'large'; /** * Label of the select button. */ text: string | ReactElement; /** * Value of the select button option. */ value: string | number; } declare const SelectButton: ({ text, value, selected, disabled, onChange, size, name, id, className, style, sx, "data-test-id": dataTestId, }: SelectButtonProps) => ReactElement; export default SelectButton;