import type { Double, Float, BubblingEventHandler, DirectEventHandler, WithDefault } from 'react-native/Libraries/Types/CodegenTypes'; import type { ColorValue, HostComponent, ViewProps } from 'react-native'; type OnErrorEvent = { error: string; }; type OnContentSizeChangeEvent = { width: Double; height: Double; }; export interface NativeProps extends ViewProps { latex: string; fontSize?: Float; /** true (default) = display/block style; false = inline/text style. */ displayMode?: boolean; color?: ColorValue; /** * Internal — derived from `style.alignSelf` by RaTeXView, do not set directly. * Vertical alignment of the formula against the surrounding text line when the * view is embedded inside . RaTeXView only sets it under a * ancestor (TextAncestorContext), so the same style in a flex row stays pure * Yoga. */ inlineAlign?: WithDefault<'none' | 'baseline' | 'center' | 'start' | 'end', 'none'>; onError?: BubblingEventHandler; onContentSizeChange?: DirectEventHandler; } declare const _default: HostComponent; export default _default;