import React from 'react'; import { Checkbox } from '../Checkbox'; import { Switch } from '../Switch'; type BooleanType = { type: 'switch' | 'checkbox'; }; type Props = React.ComponentProps & React.ComponentProps & BooleanType; declare const Boolean: React.ForwardRefExoticComponent & React.RefAttributes>; export default Boolean;