import React, { type ElementType, type Ref } from 'react'; import type { Props } from '../../types.js'; import { type HasDisplayName, type RefProp } from '../../utils/render.js'; import { type _internal_ComponentDescription } from '../description/description.js'; import { type _internal_ComponentLabel } from '../label/label.js'; declare let DEFAULT_GROUP_TAG: React.ExoticComponent<{ children?: React.ReactNode; }>; export type SwitchGroupProps = Props; declare function GroupFn(props: SwitchGroupProps): React.JSX.Element; declare let DEFAULT_SWITCH_TAG: "button"; type SwitchRenderPropArg = { checked: boolean; hover: boolean; focus: boolean; active: boolean; autofocus: boolean; changing: boolean; disabled: boolean; }; type SwitchPropsWeControl = 'aria-checked' | 'aria-describedby' | 'aria-labelledby' | 'role'; export type SwitchProps = Props void; name?: string; value?: string; form?: string; autoFocus?: boolean; disabled?: boolean; tabIndex?: number; }>; declare function SwitchFn(props: SwitchProps, ref: Ref): React.JSX.Element; export interface _internal_ComponentSwitch extends HasDisplayName { (props: SwitchProps & RefProp): React.JSX.Element; } export interface _internal_ComponentSwitchGroup extends HasDisplayName { (props: SwitchGroupProps & RefProp): React.JSX.Element; } export interface _internal_ComponentSwitchLabel extends _internal_ComponentLabel { } export interface _internal_ComponentSwitchDescription extends _internal_ComponentDescription { } /** @deprecated use `` instead of `` */ export declare let SwitchGroup: _internal_ComponentSwitchGroup; /** @deprecated use `