import type { ResolvedProjectReference } from 'typescript'; import type { BuilderOptions } from './build-utils.js'; export type WorkerOptions = Omit & { project: string; }; export type GetBuildWorkerFunctionOptions = Omit & { parentBaseDirectory: string; }; /** * Get the build worker function. * * @param options - The options to use for the worker. * @returns The build worker function. */ export declare function getWorkerBuildFunction(options: GetBuildWorkerFunctionOptions): (projectReference: ResolvedProjectReference) => Promise; /** * The main function for the worker. This function should be run in the context * of a worker thread. * * @param options - The options passed to the worker as `workerData`. * @param options.baseDirectory - The base directory of the project. * @param options.clean - Whether to clean the output directory. * @param options.format - The module format to use. * @param options.name - The name of the project. * @param options.project - The project to build. * @param options.shims - Whether to use shims. * @param options.tsConfig - The TypeScript configuration. * @param options.verbose - Whether to log verbose output. */ export declare function main({ baseDirectory, clean, format, name, project, shims, tsConfig, verbose, }: WorkerOptions): Promise; //# sourceMappingURL=worker-utils.d.ts.map