import type { IServiceOptions, IWorkerOptions } from '../../interface/config.js'; import { Node } from '../Node.js'; import { Route } from '../rpc/Route.js'; export interface IReqCreateService { name: string; options: IServiceOptions; } export interface IReqCreateWorker { name: string; options: IWorkerOptions; } export interface IReqRemoveWorker { id: string; reason: string; } declare class NodeHandler extends Route { constructor(node: Node); createService(body: IReqCreateService): Promise<{ id: string; }>; createWorker(body: IReqCreateWorker): Promise<{ id: string; }>; removeService(body: IReqRemoveWorker): Promise<{}>; removeWorker(body: IReqRemoveWorker): Promise<{}>; shutdown(): Promise<{}>; fetchRunningData(): Promise; private node_; } export { NodeHandler }; //# sourceMappingURL=NodeHandler.d.ts.map