/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module ai/aicore/pipeline/airesponseparser */ import { type ObservableMixinConstructor } from "@ckeditor/ckeditor5-utils"; import { type Document } from "../utils/htmlparser.js"; declare const AIResponseParserBase: ObservableMixinConstructor; /** * An utility for parsing AI responses. * * It can handle markdown and HTML content. The main purpose of this class is to clean-up * the HTML content for further processing. */ export declare class AIResponseParser extends AIResponseParserBase { constructor(); /** * Converts the given Markdown string to HTML. During conversion HTML is sanitized and normalized. */ convertMarkdownToHTML(markdown: string): Document; /** * Parses, sanitizes and normalizes given HTML string. */ parseAndNormalizeHTML(html: string): Document; } export {};