import type { VeryfrontConfig } from "../../config/index.js"; import type { MdxBundle } from "../../types/index.js"; export interface MDXCompilationResult extends MdxBundle { headings?: Array<{ id: string; text: string; level: number; }>; nodeMap?: Map; } export interface MDXCacheAdapterOptions { config: VeryfrontConfig; mode: "development" | "production"; } export declare class MDXCacheAdapter { private config; private mode; private get manifestStore(); constructor(options: MDXCacheAdapterOptions); private getCacheKey; private getTTL; computeHash(content: string): Promise; getCachedBundle(content: string, frontmatter?: Record, filePath?: string): Promise; setCachedBundle(content: string, bundle: MDXCompilationResult, filePath?: string): Promise; invalidateBundle(content: string): Promise; invalidateSource(source: string): Promise; clearAll(): Promise; getStats(): Promise<{ totalBundles: number; totalSize: number; oldestBundle?: number; newestBundle?: number; }>; } //# sourceMappingURL=mdx-cache-adapter.d.ts.map