export declare class RequestError extends Error {
    originalError: any;
    response: any;
    body: any;
    constructor(originalError: any, response: any, body: any);
}
export declare function ws(path: string, opts?: any, okStatusCodes?: number[]): Promise<any>;
export declare function wsUrl(path: string): Promise<string>;
export declare function retriever(url: string): Promise<any>;
export declare function download(url: any, filename: any): Promise<unknown>;
