import { proto_peer_exchange as proto } from "@waku/proto";
import type { Uint8ArrayList } from "uint8arraylist";
/**
 * PeerExchangeRPC represents a message conforming to the Waku Peer Exchange protocol
 */
export declare class PeerExchangeRPC {
    proto: proto.PeerExchangeRPC;
    constructor(proto: proto.PeerExchangeRPC);
    static createRequest(params: proto.PeerExchangeQuery): PeerExchangeRPC;
    /**
     * Encode the current PeerExchangeRPC request to bytes
     * @returns Uint8Array
     */
    encode(): Uint8Array;
    /**
     * Decode the current PeerExchangeRPC request to bytes
     * @returns Uint8Array
     */
    static decode(bytes: Uint8ArrayList): PeerExchangeRPC;
    get query(): proto.PeerExchangeQuery | undefined;
    get response(): proto.PeerExchangeResponse | undefined;
}
