import { type ComponentPropsWithoutRef, type ReactNode } from 'react'; import * as RadixSwitch from '@radix-ui/react-switch'; import { type VariantProps } from 'class-variance-authority'; /** Agent-readiness curated handle for Switch. */ export interface SwitchHandle { getChecked: () => boolean; setChecked: (checked: boolean) => void; toggle: () => void; } declare const switchVariants: (props?: ({ size?: "sm" | "md" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface SwitchIcon { on: ReactNode; off: ReactNode; } type RadixRootProps = ComponentPropsWithoutRef; export interface SwitchProps extends Omit, VariantProps { label: string; labelSide?: 'start' | 'end'; size?: 'sm' | 'md' | 'lg'; icon?: SwitchIcon; showStateText?: boolean; } export declare const Switch: import("react").ForwardRefExoticComponent>; export {}; //# sourceMappingURL=switch.d.ts.map