import type { ServiceInstanceOptions } from '../../../providers/database/types.js'; import type { SetCacheParams, GetCacheParams } from '../types.js'; import { CacheLocalRepository } from '../repositories/cache-local-repository.js'; export declare class CacheService { #private; constructor(localRepository: CacheLocalRepository); static getInstance(options: ServiceInstanceOptions): Promise; /** * Get a cache entry by key and namespace */ get>(params: GetCacheParams): Promise; /** * Set a cache entry with optional TTL */ set(params: SetCacheParams): Promise; /** * Delete a specific cache entry by key and namespace */ delete(key: string, namespace: string): Promise; /** * Delete all cache entries for a specific namespace */ deleteByNamespace(namespace: string): Promise; /** * Clear all cache entries */ clear(): Promise; } //# sourceMappingURL=cache-service.d.ts.map