/** * Slug of heading text: lowercased, punctuation dropped, spaces as dashes. * * @param {string} text * @returns {string} */ export function slug(text: string): string; /** * Assign every rendered headline a unique id: its section's `CUSTOM_ID` when * set, otherwise a slug of its text (`-1`, `-2`… on repeats). Sections skipped * by `selectTags`/`excludeTags` are left out, as they are when rendering. * * @param {Nodes} tree * @param {Pick} config */ export function headingIds(tree: Nodes, config: Pick): { byNode: Map; byText: Map; }; import type { Nodes } from 'orga'; import type { Config } from './state.js'; import type { Headline } from 'orga'; //# sourceMappingURL=ids.d.ts.map