import { type Context } from "../context.ts";
import { type PublishPacket } from "../deps.ts";
/**
 * Handles MQTT PUBLISH packets
 * @param ctx - The connection context
 * @param packet - The PUBLISH packet to process
 * @returns Promise that resolves when packet is processed
 * @throws Error if packet processing fails
 */
export declare function handlePublish(ctx: Context, packet: PublishPacket): Promise<void>;
//# sourceMappingURL=handlePublish.d.ts.map