import type Core from 'markdown-it/lib/parser_core'; import type { IDGenerator } from '@diplodoc/utils'; /** * Creates a core rule that wraps folding headings in `
` elements with unique IDs. * @param externalGenerateID - Optional external ID generator (e.g. from MarkdownItPluginOpts). * When provided, ensures all plugins share the same per-file generator. * When omitted, uses random fallback behavior. * @returns Markdown-it core rule that injects section wrapper tokens around folding headings. */ export declare function createSectionsCoreRule(externalGenerateID?: IDGenerator): Core.RuleCore;