import type { RateLimiter, RateLimiterConfig } from '$rateLimiterTypes';
/**
 * Create a rate limiter with the specified configuration.
 * Uses Prisma/PostgreSQL as the storage backend.
 *
 * @param name - Unique name for this rate limiter
 * @param limiterConfig - Configuration for the rate limiter
 * @returns A RateLimiter instance
 */
export declare function createRateLimiter(name: string, limiterConfig: RateLimiterConfig): RateLimiter;
/**
 * Create a memoized rate limiter getter function.
 * The rate limiter is lazily created on first call and cached for subsequent calls.
 *
 * @param name - Unique name for this rate limiter
 * @param config - Configuration for the rate limiter
 * @returns A function that returns the rate limiter
 */
export declare function memoizeRateLimiter(name: string, config: RateLimiterConfig): () => RateLimiter;
//# sourceMappingURL=rate-limiter.service.d.ts.map