import { type ChangeEventHandler, type CSSProperties } from 'react'; import { type InputControlProps } from '../../shared/contracts'; type RollingThemeSwitchStyle = CSSProperties & { '--rolling-theme-switch-accent'?: string; '--rolling-theme-switch-duration'?: string; '--rolling-theme-switch-hue'?: string; '--rolling-theme-switch-size'?: string; }; type RollingThemeSwitchProps = Omit & { checked?: boolean; defaultChecked?: boolean; onCheckedChange?: (checked: boolean) => void; onChange?: ChangeEventHandler; className?: string; style?: RollingThemeSwitchStyle; accentColor?: string; duration?: string; hue?: number | string; /** When inside ThemeProvider, use its resolved theme unless explicit state props are supplied. */ bindToTheme?: boolean; }; declare const RollingThemeSwitch: ({ checked: controlledChecked, defaultChecked: defaultCheckedProp, onCheckedChange, onChange, className, style, accentColor, duration, hue, disabled, bindToTheme, ref, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...inputProps }: RollingThemeSwitchProps) => import("react/jsx-runtime").JSX.Element; export { RollingThemeSwitch }; export type { RollingThemeSwitchProps, RollingThemeSwitchStyle };