import * as _radix_ui_react_context from '@radix-ui/react-context'; import * as React from 'react'; import { Primitive } from '@radix-ui/react-primitive'; declare const createSwitchScope: _radix_ui_react_context.CreateScope; type PrimitiveButtonProps = React.ComponentPropsWithoutRef; interface SwitchProps extends PrimitiveButtonProps { checked?: boolean; defaultChecked?: boolean; required?: boolean; onCheckedChange?(checked: boolean): void; } declare const Switch: React.ForwardRefExoticComponent>; type PrimitiveSpanProps = React.ComponentPropsWithoutRef; interface SwitchThumbProps extends PrimitiveSpanProps { } declare const SwitchThumb: React.ForwardRefExoticComponent>; declare const Root: React.ForwardRefExoticComponent>; declare const Thumb: React.ForwardRefExoticComponent>; export { Root, Switch, type SwitchProps, SwitchThumb, type SwitchThumbProps, Thumb, createSwitchScope };