2022-12-25 18:45:30 -05:00
|
|
|
import { CompilerOptions } from "typescript";
|
|
|
|
import type { ILogger } from "../models/spt/utils/ILogger";
|
2022-08-17 02:29:54 -04:00
|
|
|
import { HashCacheService } from "./HashCacheService";
|
2022-12-25 18:45:30 -05:00
|
|
|
import { VFS } from "../utils/VFS";
|
2022-08-17 02:29:54 -04:00
|
|
|
export declare class ModCompilerService {
|
|
|
|
protected logger: ILogger;
|
|
|
|
protected hashCacheService: HashCacheService;
|
|
|
|
protected vfs: VFS;
|
|
|
|
constructor(logger: ILogger, hashCacheService: HashCacheService, vfs: VFS);
|
|
|
|
compileMod(modName: string, modPath: string, modTypeScriptFiles: string[]): Promise<void>;
|
2022-12-25 18:45:30 -05:00
|
|
|
protected compile(fileNames: string[], options: CompilerOptions): Promise<void>;
|
2022-08-17 02:29:54 -04:00
|
|
|
protected areFilesReady(fileNames: string[]): boolean;
|
|
|
|
protected delay(ms: number): Promise<unknown>;
|
|
|
|
}
|