/** * Infer MIME type from data type */ export declare function inferMimeTypeFromDataType(dataType: 'image' | 'video' | 'file'): string; /** * Infer data type from input data and create appropriate metadata */ export declare function inferDataType(data: any): 'uint8array' | 'string' | 'json' | 'buffer' | 'image' | 'video' | 'file'; export declare function convertDecryptedData(data: Uint8Array, dataType?: 'uint8array' | 'string' | 'json' | 'buffer' | 'image' | 'video' | 'file', metadata?: { mimeType?: string; filename?: string; size?: number; custom?: Record; }): string | object | Buffer | Uint8Array | Blob | File; /** * Extract metadata from File or Blob objects */ export declare function extractFileMetadata(data: any): { mimeType?: string; filename?: string; size?: number; };