import type { GetStylesApi } from '../../core'; import type { HighlightSegment } from './highlight-segments'; import type { MentionsFactory } from './Mentions'; import type { MentionsRenderMentionInput } from './Mentions.types'; export interface MentionsHighlighterProps { segments: HighlightSegment[]; getStyles: GetStylesApi; trailingNewline: boolean; renderMention?: (input: MentionsRenderMentionInput) => React.ReactNode; onMentionPress?: (caret: number) => void; ref?: React.Ref; } export declare function MentionsHighlighter({ segments, getStyles, trailingNewline, renderMention, onMentionPress, ref, }: MentionsHighlighterProps): import("react").JSX.Element; export declare namespace MentionsHighlighter { var displayName: string; }