import { AbstractBase } from './abstract.base'; import { ChannelName, MessageFunction } from '../../bus.api'; import { GeneralError } from '../model/error.model'; export declare abstract class AbstractOperations extends AbstractBase { /** * Call a service via the event bus * * @param channel the channel on which the service is listening on * @param request the request object you want to send to the service. * @param successHandler handle the successful response from the service. * @param errorHandler handle any errors that are caught or thrown by the service. */ callService(channel: ChannelName, request: RequestType, successHandler: MessageFunction, errorHandler?: MessageFunction): void; }