UNPKG

vibe-coder-mcp

Version:

Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.

29 lines 964 B
import { CacheOptions, CacheStats } from './types.js'; export interface TieredCacheOptions extends CacheOptions { useMemoryCache?: boolean; memoryMaxEntries?: number; memoryMaxAge?: number; memoryThreshold?: number; memorySizeCalculator?: (value: unknown) => number; } export declare class TieredCache<T> { private name; private fileCache; private memoryCache; private options; private stats; private static readonly DEFAULT_OPTIONS; constructor(options: TieredCacheOptions); private initializeMemoryCache; private shouldUseMemoryCache; init(): Promise<void>; get(key: string): Promise<T | undefined>; set(key: string, value: T, ttl?: number): Promise<void>; delete(key: string): Promise<void>; has(key: string): Promise<boolean>; clear(): Promise<void>; prune(): Promise<number>; getStats(): Promise<CacheStats>; close(): void; } //# sourceMappingURL=tieredCache.d.ts.map