import { TNode } from '../common'; export interface TdSwitchProps { customValue?: Array; disabled?: boolean; label?: Array | TNode<{ value: SwitchValue; }>; loading?: boolean; size?: 'small' | 'medium' | 'large'; value?: SwitchValue; defaultValue?: SwitchValue; onChange?: (value: SwitchValue) => void; } export declare type SwitchValue = string | number | boolean;