import React, { ChangeEventHandler, FocusEventHandler, ReactNode } from 'react'; interface SwitchProps { checked?: boolean; disabled?: boolean; type?: string; id: string; label?: ReactNode; error?: string; onBlur?: FocusEventHandler; onChange?: ChangeEventHandler; onFocus?: FocusEventHandler; value?: string; secondary?: boolean; } declare const Switch: (props: SwitchProps) => React.JSX.Element; export default Switch;