export interface CacheServicePort { /** * Retrieves a value from the cache by key. * * @param key The key to retrieve the value for. * @returns The parsed value, or null if not found. */ get(key: string): Promise; /** * Stores a value in the cache under the specified key. * * @param key The key under which to store the value. * @param value The value to store. * @param ttl Optional time to live (expiration) in seconds. */ set(key: string, value: T, ttl?: number): Promise; /** * Deletes a value from the cache by key. * * @param key The key of the value to delete. */ del(key: string): Promise; /** * Clears the entire cache. */ reset(): Promise; } //# sourceMappingURL=cache.ports.d.ts.map