import { DetailedHTMLProps, HTMLAttributes } from "react";
/**
 * A toggle switch component that lets users turn something on or off.
 * It displays a clickable switch that changes state when clicked,
 * and can be enabled or disabled based on user interaction.
 */
export default function Switch({ enabled, onToggle, size, disabled, ...props }: {
    enabled: boolean;
    onToggle: (newState: boolean) => void;
    size: number;
    disabled?: boolean;
} & Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "onToggle">): import("react/jsx-runtime").JSX.Element;
