/** * Removes a file from the temp directory. * @param filename - Name of the file to remove (e.g., "image.jpg") * @returns Promise */ export declare const removeAssetContentTempFile: (filename: string) => Promise; type AssetContent = { data: string; mimeType: string; ext: string; tempPath: string; modyoType: T; }; type PathInput = string; type URLInput = string; type BufferInput = Buffer; type KnownFileType = { ext: string; mime: string; }; export type AssetContentArg = { input: PathInput | BufferInput | URLInput; name: string; modyoType: T; /** * Skip byte-sniffing and trust this extension/MIME instead. Use when the * caller already knows the real extension (e.g. copying an existing asset * by its `data_file_name`) — file-type can't reliably sniff text-based * formats (.csv, .txt, .svg without markup file-type recognizes, etc.). */ knownFileType?: KnownFileType; }; export declare const downloadTempAsset: (asset: AssetContentArg) => Promise>; export {}; //# sourceMappingURL=assetsHelpers.d.ts.map