/// import http from 'http'; export declare function redirect(req: http.IncomingMessage, res: http.ServerResponse, targetURL: URL): void;