
"use client";
import { DataAttributes, SwitchProps } from "./types.js";
import React, { ReactNode } from "react";

//#region src/components/client/Switch/SwitchBase.d.ts
type RenderHandleArgs = {
  size: NonNullable<SwitchProps['size']>;
  isOn: boolean;
  isOnX: string;
  isOnTranslateClass: string;
  showHoverEffect: boolean;
  disabled?: boolean;
  onIcon?: SwitchProps['onIcon'];
  offIcon?: SwitchProps['offIcon'];
  cssAnimationDuration: string;
  handleSlotProps?: DataAttributes;
};
type SwitchBaseProps = SwitchProps & {
  cssAnimationDuration: string;
  enableHoverTracking?: boolean;
  renderHandle: (args: RenderHandleArgs) => ReactNode;
};
declare const SwitchBase: React.ForwardRefExoticComponent<SwitchProps & {
  cssAnimationDuration: string;
  enableHoverTracking?: boolean;
  renderHandle: (args: RenderHandleArgs) => ReactNode;
} & React.RefAttributes<HTMLInputElement>>;
//#endregion
export { SwitchBase, type SwitchBaseProps };