import { Collection } from '../types';
export declare function isCollection(data: unknown): data is Collection<Uint8Array>;
export declare function assertCollection(data: unknown): asserts data is Collection<Uint8Array>;
export declare function makeCollectionFromFileList(fileList: FileList | File[]): Promise<Collection<Uint8Array>>;
/**
 * Calculate cumulative size of files
 *
 * @param fileList list of files to check
 * @returns size in bytes
 */
export declare function getCollectionSize(fileList: FileList | File[]): number;
