/**
 * Rate limit metadata parsed from Amigo API response headers.
 *
 * Headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
 */
export interface RateLimitInfo {
    /** Maximum requests allowed in the current window. */
    limit: number;
    /** Requests remaining in the current window. */
    remaining: number;
    /** When the current rate-limit window resets (UTC). */
    reset: Date;
}
/**
 * Parse rate limit info from HTTP response headers.
 * Returns `undefined` if the rate limit headers are not present.
 */
export declare function parseRateLimitHeaders(headers: Headers): RateLimitInfo | undefined;
/**
 * Callback invoked after each API response with rate limit info.
 * Register via `AmigoSdkConfig.onRateLimit`.
 */
export type RateLimitCallback = (info: RateLimitInfo, path: string) => void;
