import { RichTextValue } from "../types/richTextTypes";
/**
 * Converts an HTML string to RichTextValue format.
 * Parses the HTML content and transforms it into an array of Descendant objects
 * that can be used by the rich text editor.
 *
 * @param {string} html - HTML string to be converted to rich text format
 * @returns {RichTextValue} Array of Descendant objects representing the parsed content
 *
 * @example
 * ```typescript
 * const richTextService = new RichTextService();
 * const html = "<p><strong>Hello world</strong></p>";
 * const richText = richTextService.toRichTextValue(html);
 * // Returns: [{ type: 'paragraph', children: [{ text: 'Hello world', bold: true }] }]
 * ```
 *
 * @example
 * ```typescript
 * // Handling plain text
 * const plainText = "Simple text";
 * const richText = richTextService.toRichTextValue(plainText);
 * // Returns: [{ text: 'Simple text' }]
 * ```
 */
declare function toRichTextValue(html: string): RichTextValue;
export { toRichTextValue };
//# sourceMappingURL=toRichTextValue.d.ts.map