import type { _AVMetricErrorEvent } from "./AVMetricErrorEvent.js";
import type { _AVMetricEvent } from "./AVMetricEvent.js";
import type { _NSArray } from "../Foundation/NSArray.js";
export declare class _AVMetricDownloadSummaryEvent extends _AVMetricEvent {
    static alloc(): _AVMetricDownloadSummaryEvent;
    static new(): _AVMetricDownloadSummaryEvent;
    init(): _AVMetricDownloadSummaryEvent;
    /** Returns the error event if any. If no value is available, returns nil. */
    errorEvent(): _AVMetricErrorEvent | null;
    /**
     * Returns the total count of recoverable errors encountered during the download. If no errors were encountered, returns 0. Error counts may not be consistent across OS versions. Comparisons should be made within a given OS version, as error reporting is subject to change with OS updates.
     */
    recoverableErrorCount(): number;
    /**
     * Returns the total number of media requests performed by the download task. This includes playlist requests, media segment requests, and content key requests.
     */
    mediaResourceRequestCount(): number;
    /** Returns the total number of bytes downloaded by the download task. */
    bytesDownloadedCount(): number;
    /** Returns the total duration of the download in seconds. */
    downloadDuration(): number;
    /** Returns the variants that were downloaded. */
    variants(): _NSArray;
}
