1 | import ManifestFile from '@anycli/manifest-file';
|
2 | export default class PluginCache<T> extends ManifestFile {
|
3 | file: string;
|
4 | cacheKey: string;
|
5 | name: string;
|
6 | skipIfLocked: boolean;
|
7 | type: string;
|
8 | constructor(file: string, cacheKey: string, name: string);
|
9 | fetch(key: string, fn: () => Promise<T>): Promise<T>;
|
10 | }
|