import type { OpsServer } from '../classes.opsserver.js';
export declare class LogsHandler {
    private opsServerRef;
    private activeStreamStops;
    constructor(opsServerRef: OpsServer);
    /**
     * Clean up all active log streams and deactivate the push destination.
     * Called when OpsServer stops.
     */
    cleanup(): void;
    private registerHandlers;
    private static mapLogLevel;
    private static deriveCategory;
    private getRecentLogs;
    /**
     * Add a log destination to the base logger that pushes entries
     * to all connected ops_dashboard TypedSocket clients.
     *
     * Uses a module-level singleton so the destination is added only once,
     * even across OpsServer restart cycles. The destination reads
     * `currentOpsServerRef` dynamically so it always uses the active server.
     */
    private setupLogPushDestination;
    private setupLogStream;
}
