import { Application, IComponentsConfig, Module } from '@lakutata/core'; import { TInvokeObject } from './types/TInvokeObject'; import { Channel } from './lib/Channel'; import { IServiceInfoObject } from './interfaces/IServiceInfoObject'; export declare class Service extends Module { protected readonly app: Application; protected readonly registry: string; protected readonly port: number; protected readonly token: string; protected readonly logger: boolean; protected readonly controllers: string | string[]; protected readonly timeout: number; protected readonly retry: number; protected readonly components: IComponentsConfig; protected initialize(): Promise; fetchServices(appId?: string | RegExp): Promise; invoke(...params: TInvokeObject[]): Promise; parallel(...params: (TInvokeObject | TInvokeObject[])[]): Promise; channel(name: string): Channel; channels(): string[]; }