import * as SwitchPrimitive from "@radix-ui/react-switch"; import { type VariantProps } from "class-variance-authority"; import type { ComponentPropsWithoutRef } from "react"; /** * Switch — built on Radix Switch. Used for binary toggles (autoaccept, * dark mode preview, feature flags). * * Off-state uses --muted, on-state uses --primary with a subtle glow shadow * to mark "this is active" in the violet brand language. * * The `size` prop accepts `"sm" | "md" | "lg"`. Default `md` preserves the * 20×36 track from before this prop existed. */ declare const switchVariants: (props?: ({ size?: "sm" | "md" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; interface SwitchProps extends ComponentPropsWithoutRef, VariantProps { } declare const Switch: import("react").ForwardRefExoticComponent>; export { Switch, switchVariants };