import type { LoadResult, LoaderFn } from '../types'; import type { ContentFs } from './content-fs'; import type { MarkdocError } from '../../types/index.js'; export declare class Cache { #private; private fs; /** * Map of errors. Key is a cache key. */ errors: Map; constructor(fs: ContentFs); load(resource: string, loaderObjOrName: string | { name: string; loader: LoaderFn; }, depsArray?: string[]): Promise>; setLoaders(loaders: Record): void; delete(resource: string, loaderId?: string): void; } //# sourceMappingURL=cache.d.ts.map