import { type ChangeEventHandler, type CSSProperties } from 'react'; import { type InputControlProps } from '../../shared/contracts'; import { type CssLength } from '../../../utils/css'; type RobotToggleChangeReason = 'user' | 'robot-return'; type RobotToggleChangeDetails = { reason: RobotToggleChangeReason; }; type RobotToggleStyle = CSSProperties & { '--robot-toggle-duration'?: string; '--robot-toggle-focus'?: string; '--robot-toggle-off-color'?: string; '--robot-toggle-on-color'?: string; '--robot-toggle-panel-color'?: string; '--robot-toggle-size'?: string; }; type RobotToggleProps = Omit & { checked?: boolean; defaultChecked?: boolean; onCheckedChange?: (checked: boolean, details: RobotToggleChangeDetails) => void; onChange?: ChangeEventHandler; className?: string; style?: RobotToggleStyle; robotReturns?: boolean; animationDuration?: number; size?: CssLength; onColor?: string; offColor?: string; panelColor?: string; focusColor?: string; }; declare const RobotToggle: ({ checked: controlledChecked, defaultChecked, onCheckedChange, onChange, className, style, robotReturns, animationDuration, size, onColor, offColor, panelColor, focusColor, disabled, ref, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...inputProps }: RobotToggleProps) => import("react/jsx-runtime").JSX.Element; export { RobotToggle }; export type { RobotToggleChangeDetails, RobotToggleChangeReason, RobotToggleProps, RobotToggleStyle, };