import React, { ButtonHTMLAttributes } from 'react'; export type SwitchSize = 'small' | 'medium' | 'large'; export interface SwitchProps extends Omit, 'onChange'> { /** @default true */ checked?: boolean; /** @default 'small' */ size?: SwitchSize; width?: number; /** @default 'ON' */ onText?: string; /** @default 'OFF' */ offText?: string; onChange?: (checked: boolean) => void; } export declare const Switch: React.ForwardRefExoticComponent>;