import { default as React } from 'react';
type HTMLElementTag = keyof HTMLElementTagNameMap;
export type TextProps<T extends HTMLElementTag = "span"> = {
    as?: T;
    children: React.ReactNode;
    transform?: "uppercase" | "lowercase" | "capitalize";
    italic?: boolean;
    underline?: boolean;
    strikethrough?: boolean;
    truncate?: boolean;
    color?: "default" | "muted" | "primary" | string;
    className?: string;
} & Omit<React.ComponentPropsWithoutRef<T>, "className">;
export declare function Text<T extends HTMLElementTag = "span">({ as, children, transform, italic, underline, strikethrough, truncate, color, className, ...rest }: TextProps<T>): import("react/jsx-runtime").JSX.Element;
export default Text;
