1 | import { BaseRpcContext } from './base-rpc.context';
|
2 | type MqttContextArgs = [string, Record<string, any>];
|
3 | /**
|
4 | * @publicApi
|
5 | */
|
6 | export declare class MqttContext extends BaseRpcContext<MqttContextArgs> {
|
7 | constructor(args: MqttContextArgs);
|
8 | /**
|
9 | * Returns the name of the topic.
|
10 | */
|
11 | getTopic(): string;
|
12 | /**
|
13 | * Returns the reference to the original MQTT packet.
|
14 | */
|
15 | getPacket(): Record<string, any>;
|
16 | }
|
17 | export {};
|