import { type ChangeEventHandler, type CSSProperties } from 'react'; import { type InputControlProps } from '../../shared/contracts'; import { type CssLength, type CssTime } from '../../../utils/css'; type ChromaChamberSwitchStyle = CSSProperties & { '--chroma-chamber-active'?: string; '--chroma-chamber-duration'?: string; '--chroma-chamber-size'?: string; }; type ChromaChamberSwitchProps = Omit & { checked?: boolean; defaultChecked?: boolean; onCheckedChange?: (checked: boolean) => void; onChange?: ChangeEventHandler; className?: string; style?: ChromaChamberSwitchStyle; colors?: readonly string[]; duration?: CssTime; size?: CssLength; /** When inside ThemeProvider, use its resolved theme unless explicit state props are supplied. */ bindToTheme?: boolean; }; declare const ChromaChamberSwitch: ({ checked: controlledChecked, defaultChecked: defaultCheckedProp, onCheckedChange, onChange, className, style, colors, duration, size, disabled, bindToTheme, ref, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...inputProps }: ChromaChamberSwitchProps) => import("react/jsx-runtime").JSX.Element; export { ChromaChamberSwitch }; export type { ChromaChamberSwitchProps, ChromaChamberSwitchStyle };