import { ComponentPropsWithoutRef, ElementType } from "react"; //#region src/types/shared.d.ts type WithVisuallyHiddenTextProps = { /** * Visually hidden text for screen readers. * * @type {string | undefined} */ visuallyHiddenText?: string; }; type AsElementProps = { /** * The component to render as. */ as?: TComponent; }; type ElementProps = Omit, TPropsToOmit>; type HeadingLevel = `h${1 | 2 | 3 | 4 | 5 | 6}`; type ColumnWidth = 'full' | 'one-half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters'; type Size = 'xs' | 's' | 'm' | 'l' | 'xl'; type InputWidth = '2' | '3' | '4' | '5' | '10' | '20' | '30'; //#endregion export { AsElementProps, ColumnWidth, ElementProps, HeadingLevel, InputWidth, Size, WithVisuallyHiddenTextProps };