import type { ReactNode, Ref } from 'react'; import type { HeadingTag, BaseProps, ForwardRefForwardPropsComponent, AsProp, PropsWithDefaults } from '../../types'; export interface TextProps extends BaseProps, AsProp { /** Text content. */ children: ReactNode; /** * Typographical sizes and styles. * @default 'primary' */ variant?: 'primary' | 'secondary' | HeadingTag; /** Render text with semantic color based on a status. */ status?: 'error' | 'warning' | 'success'; /** Ref for the wrapping element. */ ref?: Ref; } type TextPropsWithDefaults = PropsWithDefaults; export declare const StyledText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute, HTMLSpanElement>, TextPropsWithDefaults>> & string; declare const Text: ForwardRefForwardPropsComponent; export default Text; //# sourceMappingURL=Text.d.ts.map