import { Packet } from '../model/packet'; export declare class SMQClient { topics: string[]; queues: string[]; private socket; constructor(config: { onConnect: () => Promise; onDisconnect: () => Promise; onMessage: (packet: Packet) => Promise; }); subscribe(destinationType: 'TOPIC' | 'QUEUE', destinationName: string): void; unsubscribe(destinationType: 'TOPIC' | 'QUEUE', destinationName: string): void; publish(destinationType: 'TOPIC' | 'QUEUE', destinationName: string, type?: string, body?: any): void; }