import * as React from 'react'; import { Switch as SwitchPrimitives } from '@base-ui-components/react/switch'; import { type TargetAndTransition, type VariantLabels, type HTMLMotionProps, type LegacyAnimationControls } from 'motion/react'; type SwitchContextType = { isChecked: boolean; setIsChecked: SwitchProps['onCheckedChange']; isPressed: boolean; setIsPressed: (isPressed: boolean) => void; }; declare const useSwitch: () => SwitchContextType; type SwitchProps = Omit, 'render'> & HTMLMotionProps<'button'>; declare function Switch({ name, defaultChecked, checked, onCheckedChange, nativeButton, disabled, readOnly, required, inputRef, id, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element; type SwitchThumbProps = Omit, 'render'> & HTMLMotionProps<'div'> & { pressedAnimation?: TargetAndTransition | VariantLabels | boolean | LegacyAnimationControls; }; declare function SwitchThumb({ pressedAnimation, transition, ...props }: SwitchThumbProps): import("react/jsx-runtime").JSX.Element; type SwitchIconPosition = 'left' | 'right' | 'thumb'; type SwitchIconProps = HTMLMotionProps<'div'> & { position: SwitchIconPosition; }; declare function SwitchIcon({ position, transition, ...props }: SwitchIconProps): import("react/jsx-runtime").JSX.Element; export { Switch, SwitchThumb, SwitchIcon, useSwitch, type SwitchProps, type SwitchThumbProps, type SwitchIconProps, type SwitchIconPosition, type SwitchContextType, }; //# sourceMappingURL=switch.d.ts.map