import React from "react";
type TextType = "headline" | "default";
type HeadlineSize = "lg" | "md" | "sm";
type DefaultSize = "lg" | "base" | "sm";
type TextSize = HeadlineSize | DefaultSize;
interface TextProps<T extends React.ElementType = "p"> {
    type?: TextType;
    size?: TextSize;
    as?: T;
    className?: string;
    children?: React.ReactNode;
}
type PolymorphicTextProps<T extends React.ElementType> = TextProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof TextProps<T>>;
export declare const Text: {
    <T extends React.ElementType = "p">({ type, size, as, className, children, ...props }: PolymorphicTextProps<T>): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
export {};
//# sourceMappingURL=text.d.ts.map