import { ElementType, ReactElement } from 'react'; import { PolymorphicComponentWithDynamicChildren } from '../../types'; import { SwitchToggle } from './SwitchToggle'; import { SwitchThumb } from './SwitchThumb'; interface SwitchProps { checked?: boolean; disabled?: boolean; onChange?: (checked: boolean) => void; } declare const DEFAULT_ELEMENT = "fragment"; declare function Switch(props: PolymorphicComponentWithDynamicChildren): ReactElement; declare namespace Switch { var displayName: string; var Label: typeof import("../Label/Label").Label; var Toggle: typeof SwitchToggle; var Thumb: typeof SwitchThumb; var Description: typeof import("../Description/Description").Description; } export { Switch };