import { TextProps as TextPropsOriginal } from "rebass"; import { ThemeColors } from "../../theme/types"; import { LayoutProps, SpaceProps, TypographyProps } from "styled-system"; import { typographies } from "./types"; import { ReactNode, CSSProperties } from "react"; type TextProps = Omit & LayoutProps & SpaceProps & TypographyProps & { whiteSpace?: CSSProperties["whiteSpace"]; textOverflow?: CSSProperties["textOverflow"]; } & { color?: keyof ThemeColors | string; variant?: (typeof typographies)[keyof typeof typographies]; children?: ReactNode; }; declare function Text(props: TextProps): import("react/jsx-runtime").JSX.Element; declare const _default: import("react").MemoExoticComponent; export default _default;