export declare function validateRemoteUrl(raw: string): { ok: boolean; url?: URL; error?: string; };