import * as plugins from './typedserver_web.plugins.js';
import { TypedserverStatusPill } from './typedserver_web.statuspill.js';
export declare class ReloadChecker {
    reloadJustified: boolean;
    backendConnectionLost: boolean;
    statusPill: TypedserverStatusPill;
    store: plugins.webstore.WebStore<any>;
    storeKey: string;
    typedsocket: plugins.typedsocket.TypedSocket;
    typedrouter: plugins.typedrequest.TypedRouter<import("@api.global/typedrequest-interfaces").ITypedRequest>;
    private swStatusUnsubscribe;
    private trafficLoggingEnabled;
    constructor();
    reload(): Promise<void>;
    private swRetryCount;
    private static readonly MAX_SW_RETRIES;
    /**
     * Subscribe to service worker status updates
     */
    subscribeToServiceWorker(): void;
    /**
     * Fetch and display initial service worker status
     */
    private fetchServiceWorkerStatus;
    /**
     * starts the reload checker
     */
    performHttpRequest(): Promise<Response>;
    checkReload(lastServerChange: number): Promise<void>;
    private typedsocketConnected;
    connectTypedsocket(): void;
    started: boolean;
    start(): Promise<void>;
    stop(): Promise<void>;
    private trafficLoggingRetryCount;
    private static readonly MAX_TRAFFIC_LOGGING_RETRIES;
    /**
     * Enable TypedRequest traffic logging to the service worker
     * Sets up global hooks on TypedRouter to capture all request/response traffic
     */
    enableTrafficLogging(): void;
}
