import { OnModuleDestroy } from '@nestjs/common'; import { EventBus, IEventHandler } from '@nestjs/cqrs'; import { OpenAPIService } from '../../../data'; import { DeviceRefeshEvent } from '../../devices/cqrs/events/device-refresh.event'; import { DeviceStateCommandEvent } from '../../devices/cqrs/events/device-state-command.event'; import { ChannelService } from '../channel.service'; import { OpenApiChannelConfiguration } from './openapi-channel.types'; export declare class OpenApiChannelService extends ChannelService implements OnModuleDestroy, IEventHandler, IEventHandler { private readonly openapi; readonly togglable: true; readonly name: 'openapi'; constructor(enabled: boolean, openapi: OpenAPIService, eventBus: EventBus); onModuleDestroy(): Promise; disconnect(): Promise; connect(config: OpenApiChannelConfiguration): Promise; private get accountTopic(); handle(event: DeviceRefeshEvent | DeviceStateCommandEvent): Promise; publishMessage(commandId: string, topic: string, payload: object, debug?: boolean): Promise; } //# sourceMappingURL=openapi-channel.service.d.ts.map