import type { ComponentBeforeChange, ComponentSize } from '../../types/shared/props' export type ToggleValueType = boolean | number | string | undefined export interface ToggleProps { size?: ComponentSize loading?: boolean disabled?: boolean modelValue?: ToggleValueType activeValue?: ToggleValueType inactiveValue?: ToggleValueType beforeChange?: ComponentBeforeChange activeColor?: string inactiveColor?: string activeLabel?: string inactiveLabel?: string } export interface ToggleEmits { change: [NonNullable] 'update:model-value': [NonNullable] }