import type { LinkInfo, RenderOptions } from '../types.js'; export declare function sanitizeUrl(url: string): string; export declare function safeUrl(url: string): string; export declare function linkUrl(url: string, options: RenderOptions): string | undefined; export declare function imageUrl(url: string, options: RenderOptions): string | undefined; export declare function internalLink(name: string, options: RenderOptions): boolean; export declare function linked(body: string, url: string, id: string, links: LinkInfo[], options: RenderOptions, attrs?: string): string; export declare function relAttr(options: RenderOptions): string;