/** * Creates a URL-safe slug from heading text. * Format: h-{slug}[-{index}] * * Used by both: * - getHeadings.ts (for TOC data extraction) * - headingId.ts plugin (for DOM id attributes) */ export declare function headingToSlug(text: string, index?: number): string;