/**
 * DevTools API Authentication
 *
 * Permission helpers for devtools-only API endpoints.
 * Only superadmin and developer user roles can access these APIs.
 */
import { NextResponse } from 'next/server';
import type { DualAuthResult } from './dual-auth';
/**
 * Check if the authenticated user can access DevTools APIs
 *
 * @param authResult - Result from authenticateRequest()
 * @returns true if user has superadmin or developer role
 */
export declare function canAccessDevtoolsApi(authResult: DualAuthResult): boolean;
/**
 * Create a standardized 403 Forbidden response for DevTools API access denial
 */
export declare function createDevtoolsAccessDeniedResponse(): NextResponse;
/**
 * Create a standardized 401 Unauthorized response
 */
export declare function createDevtoolsUnauthorizedResponse(): NextResponse;
//# sourceMappingURL=devtools-auth.d.ts.map