UNPKG

@agentman/chat-widget

Version:

Agentman Chat Widget for easy integration with web applications

17 lines (16 loc) 546 B
import { MessageRendererOptions } from './types'; import { MarkdownConfig } from '../utils/MarkdownLoader'; export declare class TextProcessor { private markdownLoadingPromise; private markdownConfig; constructor(markdownConfig?: MarkdownConfig); processText(content: string, options: MessageRendererOptions): Promise<string>; /** * Initialize the markdown loader in the background */ private initializeMarkdownLoader; /** * Get the marked instance if available */ private getMarkedInstance; }