import * as React from 'react'; import { Switch as BaseSwitch } from '@base-ui/react/switch'; declare const switchSizes: { readonly sm: { readonly root: "h-4 w-7.5"; readonly thumb: "size-3"; readonly thumbWidthKeyframes: readonly ["0.75rem", "1.25rem", "0.75rem"]; readonly thumbXKeyframes: readonly [0, "0.3125rem", "0.875rem"]; readonly check: "size-2.5"; }; readonly md: { readonly root: "h-5 w-9.5"; readonly thumb: "size-4"; readonly thumbWidthKeyframes: readonly ["1rem", "1.6875rem", "1rem"]; readonly thumbXKeyframes: readonly [0, "0.4375rem", "1.125rem"]; readonly check: "size-3"; }; readonly lg: { readonly root: "h-6 w-11.5"; readonly thumb: "size-5"; readonly thumbWidthKeyframes: readonly ["1.25rem", "2.125rem", "1.25rem"]; readonly thumbXKeyframes: readonly [0, "0.5rem", "1.375rem"]; readonly check: "size-4"; }; }; type SwitchSize = keyof typeof switchSizes; interface SwitchProps extends React.ComponentProps { /** * Scales the track and thumb together. * @default 'md' */ size?: SwitchSize; } declare function Switch({ className, size, ...props }: SwitchProps): React.JSX.Element; export { Switch }; export type { SwitchProps }; //# sourceMappingURL=switch.d.ts.map