import React from 'react'; import type { ColorValue, StyleProp, TextStyle, ViewStyle } from 'react-native'; export interface InlineTeXProps { /** Text content with $...$ markers for inline LaTeX formulas. */ content: string; /** Font size for formula rendering (points). Defaults to 16. */ fontSize?: number; /** Default formula color. Explicit LaTeX colors still take precedence. */ color?: ColorValue; /** * Style applied to plain-text segments. * Supported fields: color, fontSize, fontFamily, fontStyle(italic), * textDecorationLine(underline/line-through). */ textStyle?: StyleProp; /** Style applied to the container view. */ style?: StyleProp; } /** * Renders a mixed string of plain text and `$...$` LaTeX formulas inline. * * Under the hood this delegates to a native view that uses * NSTextAttachment (iOS) / ReplacementSpan (Android) so that formulas * participate in the platform's native text layout — line-wrapping, * baseline alignment, and word-breaking all happen at character level. */ export declare function InlineTeX({ content, fontSize, color, textStyle, style, }: InlineTeXProps): React.JSX.Element;