import * as react from 'react'; import { ReactNode } from 'react'; type SwitchSize = "sm" | "md"; interface SwitchProps { checked?: boolean; defaultChecked?: boolean; onChange?: (checked: boolean) => void; disabled?: boolean; size?: SwitchSize; label?: ReactNode; id?: string; "aria-label"?: string; } declare function Switch({ checked, defaultChecked, onChange, disabled, size, label, id, ...aria }: SwitchProps): react.JSX.Element; export { Switch, type SwitchProps, type SwitchSize };