import { EntryConfig } from './config'; export declare function getCacheIdentity(entry: EntryConfig): string; export declare class InvalidCacheError extends Error { path: string; constructor(message: string, path: string); static wrap(e: Error, path: string): InvalidCacheError; } export declare function resolveEntry(path: string, generator: () => Promise, cacheIdentity?: string): Promise; export declare function invalidateEntry(path: string): void; export declare function invalidateEntries(shouldRemove: (meta: T) => boolean): void; export declare function storeCache(): void; export declare function purgeCache(): void;