import * as React from "react"; import { SharedTextProps } from "../textTypes"; import { FontWeights } from "../../../shared/styles/styleUtils/typography/weight"; export interface SmallTextProps extends SharedTextProps { /** * The color of the text */ color: React.CSSProperties["color"]; /** * Which HTML tag to render the text in */ tag: keyof React.ReactHTML; /** * The font weight of the text */ weight: FontWeights; /** * human-readable selector used for writing tests */ ["data-cy"]?: string; } declare const SmallText: { (props: SmallTextProps): JSX.Element; defaultProps: { align: string; color: string; wrap: string; weight: string; tag: string; "data-cy": string; }; }; export default SmallText;