export type SafeUrlProtocol = 'blob:' | 'http:' | 'https:' | 'mailto:'; export interface ResolveSafeUrlOptions { protocols?: readonly SafeUrlProtocol[]; baseUrl?: string | URL; } /** * Resolve a consumer-authored URL only when its protocol is explicitly allowed. * Relative URLs use the current document base in browser rendering; server-side * callers can provide `baseUrl` when they intentionally support relative input. */ export declare function resolveSafeUrl(value: string | null | undefined, options?: ResolveSafeUrlOptions): string | undefined;