import { BaseCommand } from './base'; import { Telemetry } from '../utils/telemetry'; import { CachePool } from '../CachePool'; import { AbortControllerPool } from '../AbortControllerPool'; import { UsageCacheManager } from '../UsageCacheManager'; export default class Worker extends BaseCommand { predictionWorkerId: string; upsertionWorkerId: string; run(): Promise; prepareData(): Promise<{ appDataSource: import("typeorm").DataSource; telemetry: Telemetry; componentNodes: import("../Interface").IComponentNodes; cachePool: CachePool; abortControllerPool: AbortControllerPool; usageCacheManager: UsageCacheManager; }>; catch(error: Error): Promise; stopProcess(): Promise; }