cdk-insights
Version:
AWS CDK security and cost analysis tool with AI-powered insights
27 lines (26 loc) • 662 B
TypeScript
/**
* Clear all cached analysis results
*/
export declare const clearCache: () => void;
/**
* Get cache statistics
*/
export declare const getCacheStats: () => {
cacheDir: string;
cacheFileExists: boolean;
cacheDirExists: boolean;
cacheSize?: number;
};
/**
* Create cache directory if it doesn't exist
*/
export declare const ensureCacheDir: () => void;
/**
* Get the cache directory path
*/
export declare const getCacheDir: () => string;
/**
* Check if cache is enabled for the given tier
*/
export declare const isCacheEnabled: (tier?: "free" | "pro" | "enterprise") => boolean;
export declare const clearAnalysisCache: () => void;