import { OnChanges, SimpleChanges } from '@angular/core'; import { MentionTemplateContext, StreamMessage } from '../types'; import { UserResponse } from 'stream-chat'; import { MessageService } from '../message.service'; import { CustomTemplatesService } from '../custom-templates.service'; import * as i0 from "@angular/core"; type MessagePart = { content: string; type: 'text' | 'mention'; user?: UserResponse; }; /** * The `MessageTextComponent` displays the text content of a message. */ export declare class MessageTextComponent implements OnChanges { private messageService; readonly customTemplatesService: CustomTemplatesService; /** * The message which text should be displayed */ message: StreamMessage | undefined | StreamMessage['quoted_message']; /** * `true` if the component displayes a message quote */ isQuoted: boolean; /** * `true` if the */ shouldTranslate: boolean; messageTextParts: MessagePart[] | undefined; messageText?: string; displayAs: 'text' | 'html'; private readonly urlRegexp; private emojiRegexp; constructor(messageService: MessageService, customTemplatesService: CustomTemplatesService); ngOnChanges(changes: SimpleChanges): void; getMentionContext(messagePart: MessagePart): MentionTemplateContext; private createMessageParts; private getMessageContent; private fixEmojiDisplay; private wrapLinksWithAnchorTag; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};