/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

import { ILogService } from '../../log/common/log.mjs';
import {
	IOnDidTerminateSharedProcessWorkerProcess,
	ISharedProcessWorkerConfiguration,
	ISharedProcessWorkerService,
} from '../common/sharedProcessWorkerService.mjs';
export declare class SharedProcessWorkerService implements ISharedProcessWorkerService {
	private readonly logService;
	readonly _serviceBrand: undefined;
	private readonly workers;
	private readonly processeDisposables;
	private readonly processResolvers;
	constructor(logService: ILogService);
	createWorker(configuration: ISharedProcessWorkerConfiguration): Promise<IOnDidTerminateSharedProcessWorkerProcess>;
	private getOrCreateWebWorker;
	disposeWorker(configuration: ISharedProcessWorkerConfiguration): Promise<void>;
	private doDisposeWorker;
}
