apx-toolkit
Version:
Automatically discover APIs and generate complete integration packages: code in 12 languages, TypeScript types, test suites, SDK packages, API documentation, mock servers, performance reports, and contract tests. Saves 2-4 weeks of work in seconds.
16 lines • 604 B
TypeScript
/**
* Rate Limit Detector
* Automatically detects rate limiting information from API responses
* Makes the tool a developer's dream by providing rate limit awareness
*/
import type { Response } from 'playwright';
import type { RateLimitInfo } from '../types.js';
/**
* Detects rate limiting information from response headers
*/
export declare function detectRateLimits(response: Response): RateLimitInfo | undefined;
/**
* Formats rate limit info for documentation
*/
export declare function formatRateLimitInfo(rateLimit: RateLimitInfo): string;
//# sourceMappingURL=rate-limit-detector.d.ts.map