export interface RateLimitState { lastRequestTime: number; consecutiveRequests: number; } export declare const DEFAULT_STATE: RateLimitState; export declare function getStatePath(customDir?: string): string; export declare function loadState(customDir?: string): RateLimitState; export declare function saveState(state: RateLimitState, customDir?: string): void; export declare function waitRateLimit(customDir?: string): Promise;