import MetricWithAttributes from './MetricWithAttributes'; import type { RNFBPerfNativeModule } from './types/internal'; import type { HttpMethod } from './types/perf'; export default class HttpMetric extends MetricWithAttributes { private readonly _url; private readonly _httpMethod; private _httpResponseCode; private _requestPayloadSize; private _responsePayloadSize; private _responseContentType; private _started; private _stopped; constructor(native: RNFBPerfNativeModule, url: string, httpMethod: HttpMethod); setHttpResponseCode(code: number | null): void; setRequestPayloadSize(bytes: number | null): void; setResponsePayloadSize(bytes: number | null): void; setResponseContentType(contentType: string | null): void; start(): Promise; stop(): Promise; } //# sourceMappingURL=HttpMetric.d.ts.map