
import { Styles } from "../../../tasty/styles/types.js";
import { BaseProps, BlockStyleProps, OuterStyleProps } from "../../../tasty/types.js";
import "../../../tasty/index.js";
import { FieldBaseProps } from "../../../shared/form.js";
import "../../../shared/index.js";
import * as react from "react";
import { AriaSwitchProps, useSwitch } from "react-aria";

//#region src/components/fields/Switch/Switch.d.ts
interface CubeSwitchProps extends BaseProps, OuterStyleProps, BlockStyleProps, FieldBaseProps, AriaSwitchProps {
  inputStyles?: Styles;
  isLoading?: boolean;
  size?: 'large' | 'medium' | 'small';
}
/**
 * Switches allow users to turn an individual option on or off.
 * They are usually used to activate or deactivate a specific setting.
 */
declare let _Switch: react.ForwardRefExoticComponent<Omit<CubeSwitchProps, "isSelected" | "defaultSelected"> & {
  isSelected?: T["isSelected"] | any;
  defaultSelected?: T["defaultSelected"] | any;
} & react.RefAttributes<unknown>>;
//#endregion
export { type AriaSwitchProps, CubeSwitchProps, _Switch, useSwitch };
//# sourceMappingURL=Switch.d.ts.map