import type { IncomingHttpHeaders } from "node:http";
import type { RequestHandler } from "express";
import type { Config } from "../config.js";
type HttpAuthConfig = Pick<Config, "HARNESS_MCP_AUTH_TOKEN" | "HARNESS_MCP_ALLOW_UNAUTHENTICATED_HTTP" | "HARNESS_MCP_MODE" | "HARNESS_API_KEY">;
export declare function isLoopbackBindHost(host: string): boolean;
export declare function isAuthorizedHttpRequest(headers: IncomingHttpHeaders, token: string | undefined): boolean;
export declare function createHttpAuthMiddleware(token: string | undefined): RequestHandler;
export declare function validateHttpAuthForBindHost(host: string, config: HttpAuthConfig): void;
export {};
//# sourceMappingURL=http-auth.d.ts.map