games_app/backend/dist-test-faq/services/virusScanService.d.ts

10 lines
394 B
TypeScript

/**
* Optional ClamAV (clamd) virus scanning for uploaded files.
*/
export declare class VirusScanError extends Error {
constructor(message: string);
}
export declare function isVirusScanEnabled(): boolean;
/** Scans a file on disk; no-op when ClamAV is disabled. */
export declare function scanUploadedFile(filePath: string): Promise<void>;
//# sourceMappingURL=virusScanService.d.ts.map