export declare function invalidateByModifiedDate(cacheDate: Date, path: string): boolean;
export declare function withCache<Result>(key: string, callback: () => Result, invalidate?: (cacheDate: Date, cacheKey: string) => boolean): Result;
export declare function withCache<Result>(key: string, callback: () => Promise<Result>, invalidate?: (cacheDate: Date, cacheKey: string) => boolean): Promise<Result>;
//# sourceMappingURL=cache.d.ts.map