import type { MentionHtmlToTextOptions, MentionHtmlToken } from '../components/mention/types';
export type { MentionHtmlToken, MentionHtmlToTextOptions } from '../components/mention/types';
export { escapePlainTextAsHtml } from './_internal/mention-html.js';
/**
* Parse the public mention HTML contract (text + legal `` only) into a
* flat token list. Blocks and `
` become `\n` text, so joining the text
* tokens matches the plain-text form of the value.
*/
export declare function parseMentionHtml(html: string): MentionHtmlToken[];
/**
* Plain text of a mention HTML value: chips render as `${trigger}${label}`,
* or through `chipText` for custom output.
*/
export declare function mentionHtmlToText(html: string, options?: MentionHtmlToTextOptions): string;