import * as React from 'react'; import { Primitive } from '@radix-ui/react-primitive'; type Scope = { [scopeName: string]: React.Context[]; } | undefined; type ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope; }; interface CreateScope { scopeName: string; (): ScopeHook; } declare const createSwitchScope: 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 };