import { default as React } from 'react'; import { ShapeType, SizeType, ValueType } from '../const/types.js'; export interface SwitchProps extends Omit, "onChange" | "type" | "defaultValue" | "defaultChecked"> { checked?: boolean; valueType?: ValueType; type?: string; color?: string; disabled?: boolean; readOnly?: boolean; loading?: boolean; size?: SizeType; shape?: ShapeType; trueText?: string; falseText?: string; checkedChildren?: React.ReactNode; unCheckedChildren?: React.ReactNode; onChange?: (value: boolean | number | string) => void; } declare const _default: React.FC; export default _default;