import { RadiantElement } from '@ecopages/radiant'; import type { EventEmitter } from '@ecopages/radiant/tools/event-emitter'; export type RuiSwitchProps = { /** Whether the switch is on. Reflects to markup. Default: `false`. */ checked?: boolean; /** Disable the switch. Default: `false`. */ disabled?: boolean; /** Associates the control with a form field name. */ name?: string; }; export type RuiSwitchChangeDetail = { checked: boolean; }; /** * `` — a binary on/off control. * * Implements the WAI-ARIA APG Switch pattern using a native * `` wrapped in a `