import { SuggestStrings } from "../types"; import { NumericScaleValue } from "./scale"; export interface TypographyProps { $size?: SuggestStrings; $letterSpacing?: SuggestStrings; $lineHeight?: SuggestStrings; $weight?: "light" | "regular" | "medium" | "bold"; $align?: "left" | "center" | "right" | "justify"; $wrap?: "nowrap" | "pretty" | "balanced"; $truncate?: boolean; $decoration?: SuggestStrings<"none" | "underline">; /** Clamp the text content after this number of lines */ $clamp?: SuggestStrings<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10">; $transform?: "uppercase" | "lowercase" | "capitalize" | "none" | "full-width" | "full-size-kana"; } export declare function typography(props: TypographyProps): { display?: undefined; lineClamp?: undefined; WebkitLineClamp?: undefined; WebkitBoxOrient?: undefined; overflow: string | undefined; fontFamily: string; fontWeight: string | undefined; textAlign: "left" | "right" | "center" | "justify" | undefined; whiteSpace: "nowrap" | "pretty" | "balanced" | undefined; textOverflow: string | undefined; textDecoration: SuggestStrings<"none" | "underline"> | undefined; textTransform: "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase" | undefined; } | { display: "-webkit-box"; lineClamp: string; WebkitLineClamp: string; WebkitBoxOrient: "vertical"; overflow: "hidden"; fontFamily: string; fontWeight: string | undefined; textAlign: "left" | "right" | "center" | "justify" | undefined; whiteSpace: "nowrap" | "pretty" | "balanced" | undefined; textOverflow: string | undefined; textDecoration: SuggestStrings<"none" | "underline"> | undefined; textTransform: "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase" | undefined; }; export declare namespace typography { var defaults: (defaults: TypographyProps) => (props: TypographyProps) => { display?: undefined; lineClamp?: undefined; WebkitLineClamp?: undefined; WebkitBoxOrient?: undefined; overflow: string | undefined; fontFamily: string; fontWeight: string | undefined; textAlign: "left" | "right" | "center" | "justify" | undefined; whiteSpace: "nowrap" | "pretty" | "balanced" | undefined; textOverflow: string | undefined; textDecoration: SuggestStrings<"none" | "underline"> | undefined; textTransform: "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase" | undefined; } | { display: "-webkit-box"; lineClamp: string; WebkitLineClamp: string; WebkitBoxOrient: "vertical"; overflow: "hidden"; fontFamily: string; fontWeight: string | undefined; textAlign: "left" | "right" | "center" | "justify" | undefined; whiteSpace: "nowrap" | "pretty" | "balanced" | undefined; textOverflow: string | undefined; textDecoration: SuggestStrings<"none" | "underline"> | undefined; textTransform: "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase" | undefined; }; }