/** * VirusTotal API Endpoints Configuration * Malware and virus scanning endpoints for file security * * Third-party provider for virus/malware scanning * Supports: File upload, analysis retrieval, health checks * * @see https://developers.virustotal.com/reference/overview */ /** * VirusTotal endpoints - File scanning and analysis * API v3 for virus/malware detection */ export declare const virusTotalEndpoints: { /** * POST /files - Upload file for scanning * Multipart/form-data with file attachment * See official documentation for current free tier limits: * https://developers.virustotal.com/reference/overview#public-vs-premium-api * * @returns {object} response - Upload response with analysis ID * @returns {string} response.data.id - Analysis ID for polling results */ readonly uploadFileForScanning: { readonly url: "/files"; readonly method: "POST"; }; /** * GET /analyses/{id} - Get analysis result * Retrieve scan results for previously uploaded file * * @param {string} id - Analysis ID from upload response * @returns {object} response - Analysis result with threat details */ readonly getAnalysisResult: { readonly url: "/analyses/:id"; readonly method: "GET"; readonly cacheTime: 0; }; /** * GET /version - Get API version info (health check) * Simple endpoint to verify API availability */ readonly getApiVersion: { readonly url: "/version"; readonly method: "GET"; readonly cacheTime: 300; readonly staleTime: 600; }; }; /** * ALL VirusTotal endpoints */ export declare const virusTotal: { /** * POST /files - Upload file for scanning * Multipart/form-data with file attachment * See official documentation for current free tier limits: * https://developers.virustotal.com/reference/overview#public-vs-premium-api * * @returns {object} response - Upload response with analysis ID * @returns {string} response.data.id - Analysis ID for polling results */ readonly uploadFileForScanning: { readonly url: "/files"; readonly method: "POST"; }; /** * GET /analyses/{id} - Get analysis result * Retrieve scan results for previously uploaded file * * @param {string} id - Analysis ID from upload response * @returns {object} response - Analysis result with threat details */ readonly getAnalysisResult: { readonly url: "/analyses/:id"; readonly method: "GET"; readonly cacheTime: 0; }; /** * GET /version - Get API version info (health check) * Simple endpoint to verify API availability */ readonly getApiVersion: { readonly url: "/version"; readonly method: "GET"; readonly cacheTime: 300; readonly staleTime: 600; }; }; //# sourceMappingURL=virustotal.d.ts.map