export default function safeUrl(url: string): URL | null;