import type { ICacheService } from '../../../shared/interfaces/cache.interface.js';
export declare class RelationCache<T> implements ICacheService<T> {
    private readonly maxSize;
    private readonly defaultTTL;
    private readonly cache;
    constructor(maxSize?: number, defaultTTL?: number);
    get(key: string): T | null;
    set(key: string, data: T, ttl?: number): void;
    delete(key: string): void;
    keys(): string[];
    private evictLeastRecentlyUsed;
    private pruneExpired;
}
//# sourceMappingURL=relation-cache.d.ts.map