import * as React from "react";
import { UseRadioState } from "../..";
import { PCRSwitchProps } from "../../typings/PCRSwitchProps";
import { UseCheckboxState } from "../checkbox/Checkbox";
export type SwitchProps<
  S =
    | $PropertyType<UseRadioState, "state">
    | $PropertyType<UseCheckboxState, "state">
> = PCRSwitchProps<S>;
declare export var Switch: React.ForwardRefExoticComponent<{
  ...Omit<
    $PropertyType<$Exports<"../../typings/PCRCommonProps">, "CommonProps">,
    "color" | "animation" | "type" | "variation"
  >,
  ...{
    shape?: ("fill" | "slim") | void,
    color?: $PropertyType<
      $Exports<"../../typings/PCRCommonProps">,
      "Colors"
    > | void,
    animation?: void,
    type?: "checkbox" | "radio" | void,
    iconType?: void,
    ...
  },
  ...React.RefAttributes<HTMLInputElement>,
}>;
