/** * @publicApi */ export declare class NatsRecord { readonly data: TData; readonly headers?: THeaders; constructor(data: TData, headers?: THeaders); } /** * @publicApi */ export declare class NatsRecordBuilder { private data?; private headers?; constructor(data?: TData); setHeaders(headers: THeaders): this; setData(data: TData): this; build(): NatsRecord; }