import { TextVariant } from "@artsy/palette-tokens/dist/typography/v3"; import { Text as RNText, TextProps as RNTextProps } from "react-native"; import { ColorProps, LineHeightProps, SpaceProps, TypographyProps } from "styled-system"; export interface TextProps extends RNTextProps, InnerStyledTextProps { children?: React.ReactNode; variant?: TextVariant; italic?: boolean; caps?: boolean; weight?: "regular" | "medium"; maxChars?: number; underline?: boolean; maxWidth?: boolean; selectable?: boolean; } export declare const Text: import("react").ForwardRefExoticComponent>; type LineHeight = `${number}px`; type LineHeightTheme = { lineHeights: Record; }; type InnerStyledTextProps = ColorProps & SpaceProps & TypographyProps & LineHeightProps; export {};