import type { TextProps, StyleProp, ViewStyle, TextStyle } from 'react-native'; import type { ParseShape } from 'react-native-parsed-text'; import type { LeftRightStyle, IMessage } from './Models'; export interface MessageTextProps { position?: 'left' | 'right'; optionTitles?: string[]; currentMessage?: TMessage; containerStyle?: LeftRightStyle; textStyle?: LeftRightStyle; linkStyle?: LeftRightStyle; textProps?: TextProps; customTextStyle?: StyleProp; parsePatterns?(linkStyle: TextStyle): ParseShape[]; } declare const MessageText: { ({ currentMessage, optionTitles, position: positionProp, containerStyle, textStyle, linkStyle: linkStyleProp, customTextStyle, parsePatterns, textProps, }: MessageTextProps): JSX.Element; defaultProps: { position: string; optionTitles: string[]; currentMessage: { text: string; }; containerStyle: {}; textStyle: {}; linkStyle: {}; customTextStyle: {}; textProps: {}; parsePatterns: () => never[]; }; }; export default MessageText;