/// import { Compiler } from 'webpack'; import { DTSTLoadertype } from './dts'; import { Worker } from 'worker_threads'; declare class DTSPlugin { options?: DTSTLoadertype; constructor(options: DTSTLoadertype); dtsThread: Worker | undefined; apply(compiler: Compiler): void; } export declare function createDtsEmitThread(): Worker; /** * build 期间用的dts */ export declare function createDtsEmitThreadForBuild(): void; export declare function emitDts(dtsThread: Worker): void; export default DTSPlugin;