import type { _AVMetricErrorEvent } from "./AVMetricErrorEvent.js";
import type { _AVMetricEvent } from "./AVMetricEvent.js";
import type { _NSDate } from "../Foundation/NSDate.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { _NSURLSessionTaskMetrics } from "../Foundation/NSURLSessionTaskMetrics.js";
import type { NSRange } from "../structs/NSRange.js";
export declare class _AVMetricMediaResourceRequestEvent extends _AVMetricEvent {
    static alloc(): _AVMetricMediaResourceRequestEvent;
    static new(): _AVMetricMediaResourceRequestEvent;
    init(): _AVMetricMediaResourceRequestEvent;
    /** Returns the URL of the resource request. If no value is available, returns nil. */
    url(): _NSURL | null;
    /** The IP address of the server. If not available, the value is nil. */
    serverAddress(): _NSString | null;
    /** Returns the start time of the resource request. */
    requestStartTime(): _NSDate;
    /** Returns the end time of the resource request. */
    requestEndTime(): _NSDate;
    /** Returns the start time of the resource request response. */
    responseStartTime(): _NSDate;
    /** Returns the end time of the resource request response. */
    responseEndTime(): _NSDate;
    /**
     * Returns the byte range downloaded for the resource request. If not available, the range start and end will be 0.
     */
    byteRange(): NSRange;
    /** Returns true if the resource was read from the cache. */
    readFromCache(): boolean;
    /**
     * Returns the error event, if any, encountered during the resource request. If no value is present, returns nil.
     */
    errorEvent(): _AVMetricErrorEvent | null;
    /**
     * Returns the NSURLSessionTaskMetrics associated with the resource request. If no value is present, returns nil
     */
    networkTransactionMetrics(): _NSURLSessionTaskMetrics | null;
}
