vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
28 lines • 854 B
TypeScript
import { CacheOptions, CacheStats } from './types.js';
export declare class FileCache<T> {
private name;
private cacheDir;
private metadataPath;
private metadata;
private options;
private stats;
private initialized;
private pruneTimer;
private static readonly DEFAULT_OPTIONS;
constructor(options: CacheOptions);
init(): Promise<void>;
private createCacheDirectory;
private ensureInitialized;
private saveMetadata;
private hashKey;
private getEntryPath;
get(key: string): Promise<T | undefined>;
set(key: string, value: T, ttl?: number): Promise<void>;
has(key: string): Promise<boolean>;
delete(key: string): Promise<boolean>;
clear(): Promise<void>;
prune(): Promise<number>;
getStats(): CacheStats;
close(): void;
}
//# sourceMappingURL=fileCache.d.ts.map