import type { NodeProcessorConfig } from './NodeProcessor.js'; import { MbNode } from '../utils/node.js'; /** * Increment the counter for same heading text, and set the id of the heading node * * If the addHeaderCount is false, the counter for the same heading text will not be incremented. * The heading id will also not have the count appended to it. * * So for, only SiteLinkManager uses this function with addHeaderCount set to false. * This is for validating intralinks in a side-effect free manner. * * Heading text refers to textContent of h1-h6 Nodes. */ export declare function setHeadingId(node: MbNode, config: NodeProcessorConfig, addHeaderCount?: boolean): void; /** * Assigns an id to the root element of a panel component using the heading specified in the * panel's header slot or attribute (if any), with the header slot having priority if present. * This is to ensure anchors still work when panels are in their minimized form. * @param node The root panel element */ export declare function assignPanelId(node: MbNode): void; //# sourceMappingURL=headerProcessor.d.ts.map