import { Primitive } from "@loke/ui/primitive"; import { type ComponentPropsWithoutRef } from "react"; declare const createSwitchScope: import("@loke/ui/context").CreateScope; type PrimitiveButtonProps = ComponentPropsWithoutRef; interface SwitchProps extends PrimitiveButtonProps { checked?: boolean; defaultChecked?: boolean; onCheckedChange?(checked: boolean): void; required?: boolean; } declare const Switch: import("react").ForwardRefExoticComponent>; type PrimitiveSpanProps = ComponentPropsWithoutRef; interface SwitchThumbProps extends PrimitiveSpanProps { } declare const SwitchThumb: import("react").ForwardRefExoticComponent>; declare const Root: import("react").ForwardRefExoticComponent>; declare const Thumb: import("react").ForwardRefExoticComponent>; export { createSwitchScope, Switch, SwitchThumb, Root, Thumb, }; export type { SwitchProps, SwitchThumbProps };