
"use client";
import { SwitchProps as SwitchProps$1 } from "./types.js";
import React from "react";

//#region src/components/client/Switch/Switch.d.ts
type SwitchProps = SwitchProps$1;
/**
 * **⚙️️ An switch.
 *
 * @componentType Client component
 *
 * @description
 * A switch (also called a toggle) is a binary on/off input control. It is clickable or touchable on mobile devices allowing users to pick between two clearly opposite choices.
 *
 * @see
 * Check out the {@link https://uds.build/docs/components/switch Switch Docs} for more info
 *
 * @usage
 * - Forms: switch
 *
 * @example
 * ```tsx
 * 'use client';
 * import { Switch } from "@yahoo/uds";
 *
 * <Switch label="Name" required />
 *```
 *
 * @related [Checkbox](https://uds.build/docs/components/checkbox).
 **/
declare const Switch: React.ForwardRefExoticComponent<SwitchProps$1 & React.RefAttributes<HTMLInputElement>>;
//#endregion
export { Switch, type SwitchProps };