import { UnpackedFile } from "./types.js"; type Options = { repo?: "github" | "gitlab" | "bitbucket"; branch?: string; }; export declare class Nethere { static downloadToDisk(url: string, destination: string, options?: Options): Promise; static downloadToMemory(fileUrl: string, options?: Options): Promise; private static nameFromDisposition; private static inferTypeFromName; private static extractType; private static getRepoUrl; } export {};