/** * Text Component * Maps TextDSL to MUI Typography * * Note: All props are already processed by ComponentRenderer: * - I18n translation completed * - Expressions evaluated * - DSL objects rendered to ReactNode */ import type { ReactNode, CSSProperties } from 'react'; import { type TextVariant, type TextAlign, type TextElement } from '@galaxy-dev/metadsl-core'; /** * Text component props (adapter layer) * * These props are already processed by ComponentRenderer: * - content: I18nValue → ReactNode (translated & rendered) * - color: string (evaluated) * - bold: Expression | boolean → boolean (evaluated) */ export interface TextProps { /** Text variant */ variant?: TextVariant; /** Content (already translated and rendered) */ content?: ReactNode; /** Align */ align?: TextAlign; /** Color (evaluated) */ color?: string; /** Bold state (already evaluated) */ bold?: boolean; /** HTML element to render as (default: 'p' for body variants, corresponding tag for headings) */ as?: TextElement; /** CSS class name */ className?: string; /** Inline styles */ style?: CSSProperties; /** Children */ children?: ReactNode; } export declare function Text({ content, variant, align, color, bold, as, className, style, children, }: TextProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Text.d.ts.map