/** * Pacer — Rate-limit-aware scheduling for the autonomous loop. * * Manages cooldowns between laps and API calls to stay within * the Anthropic API rate limits (450K input tokens/min). */ export declare class Pacer { private apiCallTimestamps; private backoffLevel; private maxBackoffLevel; /** * Wait between laps. */ waitBetweenLaps(): Promise; /** * Wait between individual API calls within a lap. */ waitBetweenApiCalls(): Promise; /** * Wait between full pipeline runs (Type B laps). */ waitBetweenPipelineRuns(): Promise; /** * Record an API call for rate tracking. */ recordApiCall(): void; /** * Record a rate limit hit — increases all cooldowns. */ record429(): void; /** * Record a successful API call — may decrease backoff over time. */ recordSuccess(): void; /** * Check if the loop should stop based on time budget. */ shouldStop(startTime: number, maxHours: number): boolean; /** * Get the number of API calls in the last 60 seconds. */ getRecentCallCount(): number; } //# sourceMappingURL=pacer.d.ts.map