assassin-bug/framework/asset-manager/storage.d.ts

12 lines
356 B
TypeScript
Raw Normal View History

2022-11-26 01:22:02 +00:00
export declare class AssetStorage {
private id;
private cache;
private manifest;
constructor(id: string);
init(): Promise<void>;
add(request: RequestInfo, response: Response): Promise<Boolean>;
get(request: RequestInfo): Promise<Response>;
setManifest(manifest: any): Promise<void>;
clear(): Promise<void>;
}