/**
 * Rate Limiting System
 *
 * Simple in-memory rate limiting for API endpoints.
 * In production, this should be replaced with Redis or similar.
 */
export interface RateLimitOptions {
    key: string;
    windowMs: number;
    maxRequests: number;
}
export interface RateLimitResult {
    success: boolean;
    remaining: number;
    resetTime: number;
    retryAfter?: number;
}
/**
 * Check if request is within rate limit
 */
export declare function rateLimit(options: RateLimitOptions): Promise<RateLimitResult>;
/**
 * Reset rate limit for a key (useful for testing)
 */
export declare function resetRateLimit(key: string): void;
/**
 * Get current rate limit status for a key
 */
export declare function getRateLimitStatus(key: string): RateLimitResult | null;
//# sourceMappingURL=rate-limit.d.ts.map