import type { DocumentQuery, DbOperation } from './types.ts'; /** * Remove an upload from a document * Deletes the file from disk and removes the database record * * @param client Database client * @param query Document query (supports path string, id number, OptimisticDocument, Route, etc.) * @param uploadsPath Path to the uploads directory * @param originalFilename The original filename of the upload to remove * @returns Object with filename and original_filename if successful * @throws Error if filename is invalid, upload not found, or deletion fails */ export declare const removeUpload: DbOperation<[ DocumentQuery, string, string ], { filename: string; original_filename: string; }>; //# sourceMappingURL=removeUpload.d.ts.map