/**
 * Dashboard generator that creates a terminal-like metrics display
 * served directly from the service worker as a single-page app
 */
export declare class DashboardGenerator {
    /**
     * Serves the dashboard HTML page
     */
    serveDashboard(): Response;
    /**
     * Serves the metrics JSON endpoint with ALL initial data
     * This is the single HTTP seed request that provides:
     * - Current metrics
     * - Initial events (last 50)
     * - Initial request logs (last 50)
     * - Request stats and methods
     * - Resource data
     */
    serveMetrics(): Promise<Response>;
    /**
     * Serves detailed resource data for the SPA views
     */
    serveResources(): Response;
    /**
     * Serves event log data
     */
    serveEventLog(searchParams: URLSearchParams): Promise<Response>;
    /**
     * Serves event count since a timestamp
     */
    serveEventCount(searchParams: URLSearchParams): Promise<Response>;
    /**
     * Serves cumulative metrics
     */
    serveCumulativeMetrics(): Promise<Response>;
    /**
     * Clears the event log
     */
    clearEventLog(): Promise<Response>;
    /**
     * Serves TypedRequest traffic logs
     */
    serveTypedRequestLogs(searchParams: URLSearchParams): Response;
    /**
     * Serves TypedRequest traffic statistics
     */
    serveTypedRequestStats(): Response;
    /**
     * Clears TypedRequest traffic logs
     */
    clearTypedRequestLogs(): Response;
    /**
     * Serves unique method names from TypedRequest logs
     */
    serveTypedRequestMethods(): Response;
    private static readonly TEST_DURATION_MS;
    private static readonly CHUNK_SIZE_KB;
    /**
     * Runs a time-based speedtest and returns the results
     * Each test (download/upload) runs for TEST_DURATION_MS, transferring chunks continuously
     */
    runSpeedtest(): Promise<Response>;
    /**
     * Generates JSON metrics response
     */
    generateMetricsJson(): string;
    /**
     * Generates JSON response with detailed resource data
     */
    generateResourcesJson(): string;
    /**
     * Generates a minimal HTML shell that loads the Lit-based dashboard bundle
     */
    generateDashboardHtml(): string;
}
export declare const getDashboardGenerator: () => DashboardGenerator;
