import React from "react";

//#region src/internal/components/InputLabel.d.ts
type BaseProps = {
  disabled?: boolean;
  required?: boolean;
  requiredText?: string;
  requiredIndicator?: boolean;
  visuallyHidden?: boolean;
  id?: string;
  className?: string;
};
type LabelProps = BaseProps & {
  htmlFor?: string;
  as?: 'label';
};
type LegendOrSpanProps = BaseProps & {
  as: 'legend' | 'span';
  htmlFor?: undefined;
};
//#endregion
export { LabelProps, LegendOrSpanProps };