import type { XyControlStatus, XyOptionValue, XySemanticClassNames, XySemanticStyles, XySize } from "../core"; export type XySwitchSemanticDom = "handle" | "loadingIcon" | "root" | "text"; export interface XySwitchProps { activeText?: string; activeValue?: XyOptionValue; ariaLabel?: string; autofocus?: boolean; checked?: boolean; classNames?: XySwitchClassNames; defaultChecked?: boolean; disabled?: boolean; id?: string; inactiveText?: string; inactiveValue?: XyOptionValue; loading?: boolean; modelValue?: XyOptionValue; readonly?: boolean; required?: boolean; size?: XySize; status?: XyControlStatus; styles?: XySwitchStyles; tabindex?: number; } export interface XySwitchExpose { blur: () => void; focus: (options?: FocusOptions) => void; nativeElement?: HTMLButtonElement; } export type XySwitchClassNames = XySemanticClassNames; export type XySwitchStyles = XySemanticStyles;