import { type ElementRef, type JSX } from 'react'; import type { BaseTypographyProps, TextStyleOptions } from './types.js'; type TextElement = Exclude; export interface TextProps extends BaseTypographyProps, TextStyleOptions { /** The HTML element to render as. */ as: T; } /** * Renders the provided text contents in a specified style. * * See [typography guide](https://ui.cimpress.io/foundations/typography/). */ declare const _Text: (props: TextProps & import("react").RefAttributes> & import("../../with-style-props.js").StyleProps) => JSX.Element | null; export { _Text as Text }; //# sourceMappingURL=text.d.ts.map