mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-08 15:22:43 +08:00
15 lines
558 B
TypeScript
15 lines
558 B
TypeScript
declare type CacheOptions = {
|
|
ABI: string;
|
|
arch: string;
|
|
platform: string;
|
|
debug: boolean;
|
|
electronVersion: string;
|
|
headerURL: string;
|
|
modulePath: string;
|
|
};
|
|
export declare const cacheModuleState: (dir: string, cachePath: string, key: string) => Promise<void>;
|
|
declare type ApplyDiffFunction = (dir: string) => Promise<void>;
|
|
export declare const lookupModuleState: (cachePath: string, key: string) => Promise<ApplyDiffFunction | boolean>;
|
|
export declare function generateCacheKey(opts: CacheOptions): Promise<string>;
|
|
export {};
|