import type { PacketId, TPacketType } from "./types.ts";
/**
 * PubcompPacket is sent to indicate publish complete
 * It is the fourth packet of the QoS 2 protocol exchange.
 */
export type PubcompPacket = {
    type: TPacketType;
    id: PacketId;
};
export declare const pubcomp: {
    encode(packet: PubcompPacket): {
        flags: number;
        bytes: number[];
    };
    decode(buffer: Uint8Array): PubcompPacket;
};
//# sourceMappingURL=pubcomp.d.ts.map