import type { IncomingHttpHeaders } from "node:http"; import type { RequestHandler } from "express"; import type { Config } from "../config.js"; type HttpAuthConfig = Pick; 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