import type { Ref, RenderFunction, SetupContext } from 'vue' import type { SwitchEmits as ElSwitchEmits, SwitchProps as ElSwitchProps } from 'element-plus' import type { SwitchProps } from '../base' import type { ComponentBaseOptions, ComponentSlotType, DefineComponentApp, DefineComponentInstance, Merge, } from '../common' export declare const KSwitch: DefineComponentApp export type KSwitchInstance = DefineComponentInstance export interface KSwitchConstructor extends ComponentBaseOptions, KSwitchMethods { props: KSwitchProps context: SetupContext getRefMaps(): KSwitchPrivateRef getComputeMaps(): KSwitchPrivateComputed renderVN: RenderFunction } export interface KSwitchPrivateRef { refElem: Ref } export interface KSwitchPrivateComputed { } export type KSwitchProps = Merge export type KSwitchEmits = ElSwitchEmits export interface KSwitchSlots { 'active-action': () => ComponentSlotType 'inactive-action': () => ComponentSlotType } export type KSwitchMethods = { focus: () => void }