import type { Root } from 'hast';
import type { Transformer } from 'unified';
export declare const HEADING_TAGS: string[];
/**
 * strip the trailing custom anchor marker from plain heading text,
 * keep text untouched if the marker is invalid
 */
export declare function stripCustomAnchorMarker(text: string): string;
export default function rehypeSlug(): Transformer<Root>;
