File size: 555 Bytes
19e88d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * This function allow to retrieve either a FileBlob or a WebBlob from a URL.
 *
 * From the backend:
 *   - support local files
 *   - support local folders
 *   - support http resources with absolute URLs
 *
 * From the frontend:
 *   - support http resources with absolute or relative URLs
 */
export declare function createBlobs(url: URL, destPath: string, opts?: {
    fetch?: typeof fetch;
    maxFolderDepth?: number;
    accessToken?: string;
}): Promise<Array<{
    path: string;
    blob: Blob;
}>>;
//# sourceMappingURL=createBlobs.d.ts.map