export type HtmdxHeading = { id: string; label: string; }; export type RenderContext = { headings: HtmdxHeading[]; slugCounts: Map; }; export type SafeImageAttributes = { src: string; alt: string; className: string; title?: string; width?: number; height?: number; loading?: 'eager' | 'lazy'; decoding?: 'async' | 'auto' | 'sync'; }; export declare function slugify(value: string): string; export declare function uniqueSlug(value: string, context: RenderContext): string; export declare function safeHref(value: string): string | null; export declare function safeImageAttributes(attributes: Record): SafeImageAttributes | null; export declare function decodeHtmlEntities(value: string): string; export declare function escapeHtml(value: string): string;