import { type ReactNode, type Ref } from 'react'; import type { Size } from '../../../../constant/size'; type SwitchOption = { label: ReactNode; value: string | boolean; }; type SwitchSize = Extract; type SwitchProps = { size?: SwitchSize; left: SwitchOption; right: SwitchOption; onChange?: (value: string | boolean) => void; name: string; disabled?: boolean; value?: string | boolean; defaultValue?: string | boolean; className?: string; refs?: [Ref, Ref]; }; declare const Switch: import("react").ForwardRefExoticComponent>; export type { SwitchSize, SwitchProps }; export { Switch };