import { default as React, HTMLAttributes, ElementType, ReactNode } from 'react';
export type TextVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body-lg' | 'body' | 'body-sm' | 'caption' | 'label' | 'overline';
export type TextAlign = 'left' | 'center' | 'right';
export type TextWeight = 'light' | 'normal' | 'medium' | 'semibold' | 'bold';
export type TextColor = 'primary' | 'secondary' | 'disabled' | 'brand' | 'error' | 'success' | 'warning';
export interface TextProps extends HTMLAttributes {
/**
* Text variant/style
* @default 'body'
*/
variant?: TextVariant;
/**
* HTML element to render
* Auto-selects based on variant if not specified
*/
as?: ElementType;
/**
* Text alignment
*/
align?: TextAlign;
/**
* Font weight
*/
weight?: TextWeight;
/**
* Text color
*/
color?: TextColor;
/**
* Apply gradient color
*/
gradient?: boolean;
/**
* Truncate text with ellipsis
*/
truncate?: boolean;
/**
* Text content
*/
children: ReactNode;
/**
* Additional CSS classes
*/
className?: string;
}
/**
* Text Component
*
* A versatile typography component with multiple variants, alignments, weights, and colors.
* Automatically selects the appropriate HTML element based on variant.
* Fully responsive and accessible.
*
* @example
* ```tsx
* Main Heading
*
*
* Centered body text
*
*
*
* Gradient Heading
*
*
*
* Secondary caption text
*
* ```
*/
export declare const Text: React.FC;
//# sourceMappingURL=Text.d.ts.map