import { WebpackBuildResult } from "../checker/resultSerializer"; export default class TsCheckerWorker { private process; private memoryLimit; private exitListener; private runtimeConfig; constructor(incremental: boolean, memoryLimit: number, timings: boolean, tsconfigPath: string, diagnosticFormatter: string, ignoreDiagnostics: Array, ignoreLints: Array, tslintEmitErrors: boolean, tslintPath?: string); /** * Starts the checker process */ start(): Promise; /** * Kills the checker process */ kill(): void; /** * Pass files that were (re-)built by webpack and start type checking and linting */ check(): Promise; /** * Invalidate all files that were changed in general (also non-webpack modules) */ invalidateFiles(changes: Array, removals: Array): Promise; /** * Recevices all files that are relevant for type checking but unknown for webpack */ getTypeCheckRelatedFiles(): Promise>; private init(); private sendAndWait(id, options?); }