/** @jsxRuntime classic */ /** @jsx jsx */ import { type Theme } from "../types.js"; export declare const Text: (props: { as?: Comp | undefined; ref?: import("react").Ref)[Comp] : Comp extends new (...args: any) => any ? InstanceType : undefined> | undefined; } & Omit>, "color" | "as" | "size" | "weight" | keyof import("./Box.js").ColorProps | keyof import("./Box.js").RadiiProps | keyof import("./Box.js").MarginProps | keyof import("./Box.js").PaddingProps | keyof { textAlign?: ("center" | "end" | "justify" | "left" | "right" | "start") | readonly (("center" | "end" | "justify" | "left" | "right" | "start") | null)[]; height?: import("../types.js").ResponsiveProp; width?: import("../types.js").ResponsiveProp; } | "leading" | "tracking"> & { /** The leading of the text. */ leading?: keyof Theme["typography"]["leading"]; /** The size of the text. */ size?: "xsmall" | "small" | "medium" | "large" | "xlarge"; /** The tracking of the text. */ tracking?: keyof Theme["typography"]["tracking"]; /** The color of the text. */ color?: keyof Theme["palette"]; /** The font-weight of the text. */ weight?: keyof Theme["typography"]["fontWeight"]; } & import("./Box.js").ColorProps & import("./Box.js").RadiiProps & import("./Box.js").MarginProps & import("./Box.js").PaddingProps & { textAlign?: ("center" | "end" | "justify" | "left" | "right" | "start") | readonly (("center" | "end" | "justify" | "left" | "right" | "start") | null)[]; height?: import("../types.js").ResponsiveProp; width?: import("../types.js").ResponsiveProp; }) => import("react").ReactElement; //# sourceMappingURL=Text.d.ts.map