import { BeforeApplicationShutdown } from '@nestjs/common'; import { CortexOperationSuccessfullyDto } from '@/infrastructure/dtos/cortex/cortex-operation-successfully.dto'; import { HttpService } from '@nestjs/axios'; import { Engines } from '@/infrastructure/commanders/types/engine.interface'; export declare class CortexUsecases implements BeforeApplicationShutdown { private readonly httpService; private cortexProcess; constructor(httpService: HttpService); startCortex(): Promise; stopCortex(): Promise; unloadCortexEngine(engine: Engines): Promise; healthCheck(host: string, port: number): Promise; startServerDetached(host: string, port: number): Promise; isAPIServerOnline(host?: string, port?: number): Promise; stopApiServer(): Promise; updateApiServerConfig(host: string, port: number): Promise; beforeApplicationShutdown(signal: string): Promise; }