15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
export declare class Cache {
    private cacheRoot;
    constructor(cacheRoot?: string);
    static getCacheDirectory(downloadUrl: string): string;
    getCachePath(downloadUrl: string, fileName: string): string;
    getPathForFileInCache(url: string, fileName: string): Promise<string | null>;
    putFileInCache(url: string, currentPath: string, fileName: string): Promise<string>;
}