import type { Link, Image, LinkReference, ImageReference } from 'mdast'; import type { ResolvedOptions } from './types.js'; import { sanitizeUrl, defaultAllowedProtocols } from '@llui/security'; export { sanitizeUrl, defaultAllowedProtocols }; /** Resolve a link/image URL through `transformLink` (if any) then sanitize it. * Returns the final URL, or `null` if the link/image should be dropped. */ export declare function resolveUrl(url: string, node: Link | Image | LinkReference | ImageReference, options: ResolvedOptions): string | null; //# sourceMappingURL=security.d.ts.map