import { IOptions } from "../declarations"; import { IChildProcess } from "../common/declarations"; import { ICleanupService } from "../definitions/cleanup-service"; import { ISpawnCommandInfo, IRequestInfo, IJSCommand } from "../detached-processes/cleanup-process-definitions"; export declare class CleanupService implements ICleanupService { private $staticConfig; private $childProcess; private static CLEANUP_PROCESS_START_TIMEOUT; private pathToCleanupLogFile; private cleanupProcess; constructor($options: IOptions, $staticConfig: Config.IStaticConfig, $childProcess: IChildProcess); shouldDispose: boolean; addCleanupCommand(commandInfo: ISpawnCommandInfo): Promise; removeCleanupCommand(commandInfo: ISpawnCommandInfo): Promise; addRequest(requestInfo: IRequestInfo): Promise; removeRequest(requestInfo: IRequestInfo): Promise; addCleanupDeleteAction(filePath: string): Promise; removeCleanupDeleteAction(filePath: string): Promise; addCleanupJS(jsCommand: IJSCommand): Promise; removeCleanupJS(jsCommand: IJSCommand): Promise; addKillProcess(pid: string): Promise; removeKillProcess(pid: string): Promise; setCleanupLogFile(filePath: string): void; dispose(): void; setShouldDispose(shouldDispose: boolean): void; private getCleanupProcess; private getCleanupProcessArgs; private getKillProcesSpawnInfo; }