import { IPFSContentDetails, IPFSContentMaybe, IpfsContentType } from '../ipfs';
import { onProgressCallback } from './stream';
export declare const detectContentType: (mime: string | undefined) => IpfsContentType;
export declare const chunksToBlob: (chunks: Array<Uint8Array>, mime: string | undefined) => Blob;
export declare const parseArrayLikeToDetails: (content: IPFSContentMaybe, cid: string, onProgress?: onProgressCallback) => Promise<IPFSContentDetails>;
export declare const contentToUint8Array: (content: File | string) => Promise<Uint8Array>;
export declare const createTextPreview: (array: Uint8Array | undefined, mime?: string, previewLength?: number) => string;
