/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { PerformanceObserver, PerformanceObserverCallback } from "node:perf_hooks";
import { AuditResult, NetworkAuditResult } from "./types";
export declare class SlowFrameDetector {
    _count: number;
    _duration: number;
    _threshold: number;
    _interval: NodeJS.Timeout | undefined;
    constructor(threshold?: number);
    start(): void;
    stop(): void;
    result(): {
        count: number;
        duration: number;
    };
}
export declare class Audit {
    _jsBootTime: number;
    _startTime: [number, number];
    _startUsage: NodeJS.CpuUsage;
    _startMemory: NodeJS.MemoryUsage;
    _slowFrameDetector: SlowFrameDetector;
    _networkAudit: NetworkAudit;
    constructor();
    _totalTime: number | undefined;
    _cpuUserTime: number | undefined;
    _cpuSystemTime: number | undefined;
    _endMemory: NodeJS.MemoryUsage | undefined;
    end(): void;
    _accountsJSONSize: number | undefined;
    setAccountsJSONSize(size: number): void;
    _preloadJSONSize: number | undefined;
    setPreloadJSONSize(size: number): void;
    result(): AuditResult;
}
export declare class NetworkAudit {
    _obs: PerformanceObserver | undefined;
    _totalTime: number;
    _totalCount: number;
    _totalResponseSize: number;
    _totalDuplicateRequests: number;
    _urlsSeen: Set<string>;
    start(): void;
    stop(): void;
    onPerformanceEntry: PerformanceObserverCallback;
    result(): NetworkAuditResult;
}
//# sourceMappingURL=audits.d.ts.map