import { default as React } from 'react';
import { SpacingProps } from '../../tokens/spacing';
import { Color } from '../../tokens/colors';
export type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl';
export type TextWeight = 'light' | 'normal' | 'medium' | 'semibold' | 'bold';
export type TextVariant = 'default' | 'muted' | 'subtle';
export type TextColor = Exclude<Color, 'neutral'>;
interface TextBaseProps extends SpacingProps {
    as?: 'p' | 'span';
    size?: TextSize;
    weight?: TextWeight;
    variant?: TextVariant;
    color?: TextColor;
    className?: string;
    icon?: React.ReactNode;
    testId?: string;
}
export type TextProps = TextBaseProps & ({
    children: React.ReactNode;
    text?: never;
} | {
    text: string | null;
    children?: never;
});
export declare const Text: React.FC<TextProps>;
export {};
//# sourceMappingURL=Text.d.ts.map