import { FC } from 'react'; import { SwitchSize, SwitchVariant } from './types.js'; interface SwitchProps { /** * Switch size – predefined or custom pixel height. */ size?: SwitchSize; /** * Visual style variant. */ variant?: SwitchVariant; /** * Controlled checked state. */ value?: boolean; /** * Uncontrolled initial checked state. */ defaultChecked?: boolean; /** * Called when the value changes. */ onValueChange?: (value: boolean) => void; /** * Disables interaction and visual feedback. */ disabled?: boolean; /** * Padding inside the track (thumb margin). */ padding?: number; } /** A Switch is a UI component that allows users to toggle between two opposing states, such as on and off, typically representing a binary setting or preference. */ declare const Switch: FC; export { Switch, type SwitchProps };