import { FormEvent, FunctionComponent, HTMLProps } from 'react'; import { Omit } from '../../typeUtils'; export interface SwitchProps extends Omit, 'type' | 'onChange' | 'disabled' | 'label'> { isDisabled?: boolean; isChecked?: boolean; onChange?(checked: boolean, event: FormEvent): void; id?: string; 'aria-label': string; label?: string; className?: string; } declare const Switch: FunctionComponent; export default Switch;