import { SwitchBase } from '@react-types/switch'; import * as React from 'react'; import { RefObject } from 'react'; import { PolymorphicComponentProps } from '../Box/types'; export declare type SwitchOwnProps = SwitchBase & { size?: 'sm' | 'md' | 'lg'; showIcon?: boolean; }; export declare type SwitchProps = PolymorphicComponentProps; declare const defaultElement = "input"; export declare const Switch: (props: SwitchProps & { ref?: RefObject; }) => JSX.Element; export {};