import { WorkerConnector } from "../WorkerConnector"; /** * @internal */ export interface IWorkerCompiler { compile(content: string): Promise; remove(path: string): Promise; execute( jsFile: string, options?: Partial, ): Promise; } /** * @internal */ export namespace IWorkerCompiler { export type Creator = { new ( jsFile: string, options?: Partial, ): IWorkerCompiler; }; }