import * as proto from "../../proto/filter"; export declare type ContentFilter = { contentTopic: string; }; /** * FilterRPC represents a message conforming to the Waku Filter protocol */ export declare class FilterRPC { proto: proto.FilterRPC; constructor(proto: proto.FilterRPC); static createRequest(topic: string, contentFilters: ContentFilter[], requestId?: string, subscribe?: boolean): FilterRPC; /** * * @param bytes Uint8Array of bytes from a FilterRPC message * @returns FilterRPC */ static decode(bytes: Uint8Array): FilterRPC; /** * Encode the current FilterRPC request to bytes * @returns Uint8Array */ encode(): Uint8Array; get push(): proto.MessagePush | undefined; get requestId(): string | undefined; }