import { Collection } from '../types';
/**
 * Creates array in the format of Collection with data loaded from directory on filesystem.
 * The function loads all the data into memory!
 *
 * @param dir path to the directory
 */
export declare function makeCollectionFromFS(dir: string): Promise<Collection<Uint8Array>>;
/**
 * Calculate folder size recursively
 *
 * @param dir the path to the folder to check
 * @returns size in bytes
 */
export declare function getFolderSize(dir: string): Promise<number>;
