import type { ControlAuth } from "./auth.js"; import type { IncomingMessage, ServerResponse } from "node:http"; /** 只返回认证结论,不把 Token 或存储异常传给日志和响应。 */ export declare function checkControlAuthorization(auth: ControlAuth | undefined, header?: string): { authorized: boolean; storageUnavailable: boolean; }; export declare function authorizeControlHttp(auth: ControlAuth | undefined, request: IncomingMessage, response: ServerResponse, previouslyAvailable: boolean): { authorized: boolean; storageUnavailable: boolean; }; //# sourceMappingURL=auth-check.d.ts.map