import type { MouseEvent } from 'react'; import type { CommonProps } from '../common'; export type SwitchProps = CommonProps & { /** * Used to describe the purpose of the switch. To be used if there is no external label (i.e. aria-labelledby is null) * @deprecated Use `Field` wrapper or the `aria-labelledby` attribute instead. */ 'aria-label'?: string; /** A reference to a label that describes the purpose of the switch. Ignored if aria-label is provided */ 'aria-labelledby'?: string; /** Identifies the element(s) that describes the element on which the attribute is set */ 'aria-describedby'?: string; /** Whether the switch is checked or not */ checked?: boolean; disabled?: boolean; /** ID to apply to the switch container */ id?: string; /** Function called when the switch is toggled */ onClick: (event?: MouseEvent) => void; }; declare const Switch: (props: SwitchProps) => import("react").JSX.Element; export default Switch; //# sourceMappingURL=Switch.d.ts.map