import type { ApiFunctionsContext, ApiFunctionsUser } from '@redocly/config';
export declare function shouldHandleMcpAuth(context: ApiFunctionsContext): boolean;
export declare function handleMcpAuth(request: Request, context: ApiFunctionsContext): Promise<{
    isAuthenticated: boolean;
    isTokenValid?: boolean;
    currentUser?: ApiFunctionsUser;
}>;
export declare function constructUnauthorizedResponse(baseUrl: string): Response;
export declare function constructInvalidTokenResponse(): Response;
//# sourceMappingURL=auth-handlers.d.ts.map