/// /// import { IncomingMessage } from 'http'; import { RequestOptions } from 'https'; export declare class Follow { follow: URL; constructor(follow: URL); } export declare class Stop { stop: URL; constructor(stop: URL); } export interface TallPlugin { (url: URL, response: IncomingMessage, previous: Follow | Stop): Promise; } export declare function locationHeaderPlugin(url: URL, response: IncomingMessage, previous: Follow | Stop): Promise; export interface TallOptions extends RequestOptions { maxRedirects: number; timeout: number; plugins: TallPlugin[]; } export declare const tall: (url: string, options?: Partial) => Promise;