import { type ChangeEventHandler, type CSSProperties } from 'react'; import { type InputControlProps } from '../../shared/contracts'; import { type CssLength, type CssTime } from '../../../utils/css'; type GlitchToggleStyle = CSSProperties & { '--glitch-toggle-duration'?: string; '--glitch-toggle-size'?: string; '--glitch-toggle-thumb'?: string; '--glitch-toggle-track'?: string; }; type GlitchToggleProps = Omit & { checked?: boolean; defaultChecked?: boolean; onCheckedChange?: (checked: boolean) => void; onChange?: ChangeEventHandler; className?: string; style?: GlitchToggleStyle; duration?: CssTime; size?: CssLength; thumbColor?: string; trackColor?: string; }; declare const GlitchToggle: ({ checked: controlledChecked, defaultChecked, onCheckedChange, onChange, className, style, duration, size, thumbColor, trackColor, disabled, ref, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...inputProps }: GlitchToggleProps) => import("react/jsx-runtime").JSX.Element; export { GlitchToggle }; export type { GlitchToggleProps, GlitchToggleStyle };