import type { MsgArg } from "./parser"; import type { Msg, MsgHdrs, Payload, Publisher, RequestInfo, ReviverFn } from "./core"; export declare class MsgImpl implements Msg { _headers?: MsgHdrs; _msg: MsgArg; _rdata: Uint8Array; _reply: string; _subject: string; publisher: Publisher; constructor(msg: MsgArg, data: Uint8Array, publisher: Publisher); get subject(): string; get reply(): string; get sid(): number; get headers(): MsgHdrs | undefined; get data(): Uint8Array; respond(data?: Payload, opts?: { headers?: MsgHdrs; reply?: string; }): boolean; size(): number; json(reviver?: ReviverFn): T; string(): string; requestInfo(): RequestInfo | null; }