interface FetchOptions {
    userAgent?: string;
    timeout?: number;
    maxRedirections?: number;
}
export declare function fetchStream(url: string, options?: FetchOptions): Promise<string>;
export declare function isValidUrl(url: string): boolean;
export {};
