import type { ComponentProps, ReactNode } from 'react'; export type SwitchSize = 'sm' | 'md'; export interface SwitchProps extends Omit, 'type' | 'size' | 'role'> { /** Track size: 36x20px (`sm`) or 46x26px (`md`). */ size?: SwitchSize; /** Visible label, associated with the switch. */ label?: ReactNode; /** Help text under the label, linked with `aria-describedby`. */ description?: ReactNode; } /** An on/off setting that applies immediately: a native checkbox with the switch role, drawn as a track and thumb. */ export declare function Switch({ size, label, description, id, className, disabled, 'aria-describedby': describedBy, ...rest }: SwitchProps): import("react").JSX.Element;