import { default as React } from 'react';
import { Root } from '@radix-ui/react-switch';
import { default as ISwitchProps } from './ISwitchProps';
/**
 * Switch component with label and description support
 * @param props {@link ISwitchProps} - The props for the Switch component
 * @returns A Switch component
 *
 * @example
 * ```tsx
 * function App() {
 *   const [value, setValue] = useState(true);
 *
 *   return (
 *     <Switch
 *       label="Switch"
 *       description="This is a switch description."
 *       value={value}
 *       onChange={setValue}
 *     />
 *   )
 * }
 * ```
 */
declare const Switch: React.FC<ISwitchProps & Pick<React.ComponentPropsWithRef<typeof Root>, 'ref'>>;
export default Switch;
