import { Options } from "./auto-text-size-standalone.js";
import React, { DetailedHTMLProps, HTMLAttributes, ReactElement, ReactHTML } from "react";

//#region src/components/auto-resize-text/index.d.ts
declare function AutoResizeText({
  mode,
  minFontSizePx,
  maxFontSizePx,
  fontSizePrecisionPx,
  scrollToEnd,
  as: Comp,
  children,
  ...rest
}: Options & {
  as?: keyof ReactHTML | React.ComponentType<any>;
  children?: React.ReactNode;
} & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>): ReactElement;
//#endregion
export { AutoResizeText };