import http from "node:http";
import type { SummarizeConfig } from "../config.js";
import type { DaemonLogger } from "../logging/daemon.js";
import { type ProcessRegistry } from "./process-registry.js";
export declare function handleAdminRoutes({ req, res, url, pathname, cors, env, fetchImpl, summarizeConfig, daemonLogger, daemonLogFile, daemonLogPaths, processRegistry, resolveToolPath, }: {
    req: http.IncomingMessage;
    res: http.ServerResponse;
    url: URL;
    pathname: string;
    cors: Record<string, string>;
    env: Record<string, string | undefined>;
    fetchImpl: typeof fetch;
    summarizeConfig: SummarizeConfig | null;
    daemonLogger: DaemonLogger;
    daemonLogFile: string;
    daemonLogPaths: {
        stdoutPath: string;
        stderrPath: string;
    };
    processRegistry: ProcessRegistry;
    resolveToolPath: (binary: string, env: Record<string, string | undefined>, explicitEnvKey?: string) => string | null;
}): Promise<boolean>;
