import { default as React } from 'react'; import { CaptionSize, BaseSize, TextWeight, TextColor } from '../../../shared/types/text'; export interface CaptionProps { /** Tamaño del caption: xs, md o tamaños base */ size?: CaptionSize | BaseSize; /** Peso de la fuente (solo aplica si se usa tamaño base) */ weight?: TextWeight; /** Contenido del texto */ children: React.ReactNode; /** Clase CSS adicional */ className?: string; /** Elemento HTML a renderizar (por defecto: span) */ as?: keyof JSX.IntrinsicElements; /** Color del texto: puede ser un color del sistema de diseño o un color CSS personalizado */ color?: TextColor | (string & {}); /** @deprecated Usa 'color' en su lugar */ textColor?: TextColor; } export declare const Caption: { ({ size, weight, children, className, as, color, textColor, ...props }: CaptionProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; //# sourceMappingURL=Caption.d.ts.map