@lcap/nasl
Version:
NetEase Application Specific Language
22 lines • 843 B
TypeScript
import { BatchInstructResult } from '@lcap/nasl-types';
import { App } from '@lcap/nasl-concepts';
import { Instruct } from '../types';
import { Operation } from '../operation';
export declare function update({ res, err, instructList, operationList, app }: {
res: BatchInstructResult;
err: any;
instructList: Instruct[];
operationList: Operation[];
app: App;
}): Promise<void>;
export declare function canUseNaslCache(globalChangedTime: number): Promise<any>;
/**
* 取出缓存
*
* @description 只是取出缓存,并不校验缓存的有效性
*/
export declare function getNaslCacheWithoutCheck(allData: any[], incrNasls: any[], appTree: {
[key: string]: string;
}): Promise<any>;
export declare function updateNaslCache(data: any, globalChangedTime: number): Promise<void>;
//# sourceMappingURL=index.d.ts.map