@waku/proto
Version:
Protobuf definitions for Waku
11 lines (10 loc) • 453 B
TypeScript
import type { Codec, DecodeOptions } from 'protons-runtime';
import type { Uint8ArrayList } from 'uint8arraylist';
export interface TopicOnlyMessage {
contentTopic: string;
}
export declare namespace TopicOnlyMessage {
const codec: () => Codec<TopicOnlyMessage>;
const encode: (obj: Partial<TopicOnlyMessage>) => Uint8Array;
const decode: (buf: Uint8Array | Uint8ArrayList, opts?: DecodeOptions<TopicOnlyMessage>) => TopicOnlyMessage;
}