UNPKG

mcp-cve-intelligence-server-lite-test

Version:

Lite Model Context Protocol server for comprehensive CVE intelligence gathering with multi-source exploit discovery, designed for security professionals and cybersecurity researchers - Alpha Release

30 lines 869 B
/** * GitHub API Response Utilities * * Helper functions for handling GitHub API responses and errors */ export interface GitHubErrorInfo { isRateLimit: boolean; message: string; resetTime?: string; limitType?: 'core' | 'search' | 'graphql'; } /** * Analyzes a GitHub API 403 response to determine the specific cause */ export declare function analyzeGitHub403Error(response: Response): GitHubErrorInfo; /** * Formats a rate limit reset time for display */ export declare function formatRateLimitReset(resetTime: string): string; /** * Gets rate limit information from GitHub API response headers */ export declare function getRateLimitInfo(response: Response): { limit: string | null; remaining: string | null; reset: string | null; resource: string | null; used: string | null; }; //# sourceMappingURL=github-api.d.ts.map