import type { SwitchValueType } from '@/types'; /** * 根据返回类型转换值 */ export declare function transformValue(value: boolean, type?: SwitchValueType): string | boolean | number; /** * 根据返回值类型判断是否选中 */ export declare function getChecked(value: string | number | boolean | undefined, type?: SwitchValueType): boolean;