import * as React$1 from 'react'; import { SwitchRootProps } from '@base-ui/react/switch'; import { L as LABEL_POSITIONS } from '../../consts-DZiQBhNi.js'; interface SwitchProps { label?: React.ReactNode; labelPosition?: keyof typeof LABEL_POSITIONS; customColor?: string; isLoading?: boolean; checked?: boolean; defaultChecked?: boolean; disabled?: boolean; /** Called with the new boolean checked value. Prefer this over onChange. */ onCheckedChange?: (checked: boolean) => void; /** Legacy onChange for backward compatibility — receives a synthetic event with target.checked */ onChange?: React.ChangeEventHandler; id?: string; name?: string; value?: string; required?: boolean; readOnly?: boolean; /** Base UI render prop — renders the switch root as a custom element. */ render?: SwitchRootProps["render"]; className?: string; } declare const Switch: React$1.ForwardRefExoticComponent>; export { Switch };