import type { IDecoder, IProtoMessage, IRoutingInfo, ITopicOnlyMessage, PubsubTopic } from "@waku/interfaces"; import { TopicOnlyMessage as ProtoTopicOnlyMessage } from "@waku/proto"; export declare class TopicOnlyMessage implements ITopicOnlyMessage { pubsubTopic: string; private proto; get version(): number; get payload(): Uint8Array; get hash(): Uint8Array; get hashStr(): string; rateLimitProof: undefined; timestamp: undefined; meta: undefined; ephemeral: undefined; constructor(pubsubTopic: string, proto: ProtoTopicOnlyMessage); get contentTopic(): string; } export declare class ContentTopicOnlyDecoder implements IDecoder { constructor(); get pubsubTopic(): PubsubTopic; get contentTopic(): string; get routingInfo(): IRoutingInfo; fromWireToProtoObj(bytes: Uint8Array): Promise; fromProtoObj(pubsubTopic: string, proto: IProtoMessage): Promise; }