import { CommandBus } from 'ts-eventsourcing/CommandHandling/CommandBus'; import { Observable } from 'rxjs'; import { ServerGatewayMessage } from '../../Gateway/ValueObject/ServerGatewayMessage'; import { ServerGatewayMetadata } from '../../Gateway/ValueObject/ServerGatewayMetadata'; /** * Dispatch gateway messages to the command bus. */ export declare function dispatchClientCommandOnCommandBus(commandBus: CommandBus): (input: Observable>>) => Observable;