import { BaseYoloDetectionInference } from "../core/base-yolo-inference.js";
import type { CoreCanvas } from "../core/platform.js";
import type { YoloDetectionOptions } from "../interface.js";
/**
 * YOLOv11 Object Detection Inference Engine for the browser.
 *
 * @example
 * ```ts
 * import { YoloDetectionInference } from "ppu-yolo-onnx-inference/web";
 *
 * const detector = new YoloDetectionInference({
 *   model: { onnx: modelArrayBuffer, classNames: ["person", "car"] },
 *   thresholds: { confidence: 0.5 },
 * });
 *
 * await detector.init();
 * const detections = await detector.detect(imageArrayBuffer);
 * await detector.destroy();
 * ```
 */
export declare class YoloDetectionInference extends BaseYoloDetectionInference {
    constructor(options: YoloDetectionOptions);
    /**
     * Convert an ArrayBuffer to a canvas element.
     * @param buffer - The input image as ArrayBuffer.
     * @returns A canvas containing the decoded image.
     */
    static convertBufferToCanvas(buffer: ArrayBuffer): Promise<CoreCanvas>;
}
