export { I as IMAGE_GUARD_STYLE, a as INLINE_CODE_GUARD_STYLE, M as MARKDOWN_CONTENT_GUARD_STYLE, b as MEDIA_GUARD_STYLE, S as SCROLL_CONTAINER_GUARD_STYLE, g as generateHeadingId, c as getDefaultSanitizationConfig, i as isDangerousAttribute, d as isDangerousUrl, m as mergeGuardStyle, r as resetHeadingIds, s as sanitizeAttributes, e as sanitizeUrl, f as slugify } from '../width-guard-BGVmaSLW.cjs'; import 'react'; /** * Parses custom ID syntax from markdown headings * Supports the {#id} pattern commonly used by AI LLMs and extended markdown * * @example * ```ts * parseHeadingId('Hello World {#custom-id}') * // Returns: { text: 'Hello World', id: 'custom-id' } * * parseHeadingId('No ID Here') * // Returns: { text: 'No ID Here', id: null } * ``` */ declare function parseHeadingId(text: string): { text: string; id: string | null; }; /** * Preprocesses markdown content to extract custom heading IDs * and store them for later use during rendering * * @param markdown - Raw markdown string * @returns Object with processed markdown and ID mappings */ declare function preprocessHeadingIds(markdown: string): { processedMarkdown: string; headingIds: Map; }; export { parseHeadingId, preprocessHeadingIds };