import type http from "node:http";
import { AuthRateLimiter } from "./auth-rate-limit.js";
import { type DaemonConfig } from "./config.js";
export declare function authorizeDaemonRequest({ req, res, pathname, cors, config, limiter, }: {
    req: http.IncomingMessage;
    res: http.ServerResponse;
    pathname: string;
    cors: Record<string, string>;
    config: DaemonConfig;
    limiter: AuthRateLimiter;
}): boolean;
