import * as React from "react"; import * as Radix from "@radix-ui/react-primitive"; import { Primitive } from "@radix-ui/react-primitive"; export const createSwitchScope: import("@radix-ui/react-context").CreateScope; type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef; export interface SwitchProps extends PrimitiveButtonProps { checked?: boolean; defaultChecked?: boolean; required?: boolean; onCheckedChange?(checked: boolean): void; } export const Switch: React.ForwardRefExoticComponent>; type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef; export interface SwitchThumbProps extends PrimitiveSpanProps { } export const SwitchThumb: React.ForwardRefExoticComponent>; export const Root: React.ForwardRefExoticComponent>; export const Thumb: React.ForwardRefExoticComponent>; //# sourceMappingURL=index.d.ts.map